-- ---------------------------------------------------------------------------------------------------------------------
-- versions:6.2
-- ---------------------------------------------------------------------------------------------------------------------

SET FOREIGN_KEY_CHECKS=0;
DROP TABLE IF EXISTS `bpm_agent`;
CREATE TABLE `bpm_agent` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `proc_key` varchar(64) DEFAULT NULL COMMENT '流程id',
  `proc_name` varchar(64) DEFAULT NULL COMMENT '流程名称',
  `username` varchar(64) NOT NULL COMMENT '用户id',
  `agent_name` varchar(64) NOT NULL COMMENT '代理人id',
  `agent_real_name` varchar(64) DEFAULT NULL COMMENT '代理人姓名',
  `start_date` date DEFAULT NULL COMMENT '开始时间',
  `end_date` date DEFAULT NULL COMMENT '截止时间',
  `remark` varchar(200) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '备注信息',
  `status` tinyint(4) DEFAULT NULL COMMENT '状态  0：停用   1：正常',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

DROP TABLE IF EXISTS `bpm_biz_acti_ext`;
CREATE TABLE `bpm_biz_acti_ext` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `table_code` varchar(255) DEFAULT NULL COMMENT '表代码',
  `biz_id` bigint(20) NOT NULL COMMENT '业务id',
  `activity_id` varchar(255) DEFAULT NULL COMMENT '节点id',
  `assignee_next_json` text COMMENT 'JSON对象存储节点候选人、已选人等',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  `version` int(11) DEFAULT '0' COMMENT '版本',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `idx_bpm_biz_acti_ext_1` (`biz_id`,`activity_id`,`table_code`) USING BTREE COMMENT '组合唯一索引'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='flowable业务实例节点扩展';

DROP TABLE IF EXISTS `bpm_form_def`;
CREATE TABLE `bpm_form_def` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `name` varchar(50) NOT NULL COMMENT '表单名称',
  `type` varchar(100) DEFAULT NULL COMMENT '表单类型',
  `print_template_code` varchar(64) DEFAULT NULL COMMENT '打印模板编码',
  `print_template_name` varchar(200) DEFAULT NULL COMMENT '打印模板描述',
  `sort` int(10) unsigned DEFAULT NULL COMMENT '排序',
  `remark` varchar(200) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '备注信息',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

DROP TABLE IF EXISTS `bpm_form_proc`;
CREATE TABLE `bpm_form_proc` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `form_id` bigint(20) NOT NULL COMMENT '表单id',
  `dept_id` bigint(20) NOT NULL COMMENT '部门ID',
  `proc_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '流程key',
  `proc_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '流程名称',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `from_id` (`form_id`,`dept_id`,`proc_key`) USING BTREE COMMENT '唯一索引',
  KEY `from_id_2` (`form_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

DROP TABLE IF EXISTS `bpm_form_url`;
CREATE TABLE `bpm_form_url` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `form_id` bigint(20) NOT NULL COMMENT '表单id',
  `type` varchar(100) NOT NULL COMMENT '菜单类型:PC APP WECHAT',
  `menu_id` bigint(20) DEFAULT NULL COMMENT '菜单id',
  `url` varchar(200) DEFAULT NULL COMMENT '表单URL',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `from_id_2` (`form_id`,`type`) USING BTREE COMMENT '唯一索引',
  KEY `from_id` (`type`,`form_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

DROP TABLE IF EXISTS `bpm_model_relation`;
CREATE TABLE `bpm_model_relation` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `node_id` varchar(255) DEFAULT NULL COMMENT '节点ID',
  `node_name` varchar(255) DEFAULT NULL COMMENT '节点名称',
  `relation_str` varchar(2048) DEFAULT NULL COMMENT '模型人员关系串',
  `remark` varchar(200) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '备注信息',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uq_bpm_node_id` (`node_id`) USING BTREE COMMENT '节点id'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='模型关系拓展表';

DROP TABLE IF EXISTS `bpm_proc_biz`;
CREATE TABLE `bpm_proc_biz` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `form_id` bigint(20) NOT NULL COMMENT '表单id',
  `type` varchar(100) DEFAULT NULL COMMENT '表单类型',
  `table_code` varchar(255) DEFAULT NULL COMMENT '表代码',
  `biz_id` bigint(20) NOT NULL COMMENT '业务id',
  `proc_key` varchar(255) DEFAULT NULL COMMENT '流程key',
  `proc_name` varchar(255) DEFAULT NULL COMMENT '流程名称',
  `proc_inst_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '流程id',
  `remark` varchar(200) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '备注信息',
  `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '0草稿，1启动运行中，2结束',
  `status_time` datetime DEFAULT NULL COMMENT '状态产生时间',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uq_bpm_biz_id` (`biz_id`) USING BTREE COMMENT '业务id唯一索引'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

DROP TABLE IF EXISTS `bpm_proc_history`;
CREATE TABLE `bpm_proc_history` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `proc_biz_id` bigint(20) NOT NULL COMMENT '表单id',
  `proc_inst_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '流程id',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `proc_biz_id` (`proc_biz_id`,`proc_inst_id`) USING BTREE,
  KEY `proc_biz_id_2` (`proc_biz_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

DROP TABLE IF EXISTS `bpm_task_ext`;
CREATE TABLE `bpm_task_ext` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `task_def_id` varchar(255) DEFAULT NULL COMMENT '节点定义ID',
  `task_name` varchar(255) DEFAULT NULL COMMENT '节点名称',
  `relation_str` varchar(2048) DEFAULT NULL COMMENT '节点执行人信息',
  `form_str` varchar(2048) DEFAULT NULL COMMENT '节点表单信息',
  `remark` varchar(200) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '备注信息',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_bpm_node_id` (`task_def_id`) USING BTREE COMMENT '节点id'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

DROP TABLE IF EXISTS `bpm_task_ext_url`;
CREATE TABLE `bpm_task_ext_url` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `def_type` varchar(64) DEFAULT NULL,
  `def_name` varchar(64) DEFAULT NULL,
  `menu_id` bigint(20) DEFAULT NULL COMMENT '菜单id',
  `url` varchar(200) DEFAULT NULL COMMENT '表单URL',
  `class_name` varchar(255) NOT NULL COMMENT '类名',
  `methods_name` varchar(255) NOT NULL COMMENT '方法名',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  `tenant_id` varchar(64) DEFAULT NULL COMMENT '租户ID',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `def_type` (`def_type`,`tenant_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='工作流自定义表单表';

DROP TABLE IF EXISTS `bpm_task_ext_user`;
CREATE TABLE `bpm_task_ext_user` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `def_type` varchar(64) DEFAULT NULL,
  `def_name` varchar(64) DEFAULT NULL,
  `class_name` varchar(255) NOT NULL COMMENT '类名',
  `methods_name` varchar(255) NOT NULL COMMENT '方法名',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  `tenant_id` varchar(64) DEFAULT NULL COMMENT '租户ID',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `def_type` (`def_type`,`tenant_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='工作流自定义用户选择表';

DROP TABLE IF EXISTS `dingtalk_template`;
CREATE TABLE `dingtalk_template` (
  `id` bigint(4) NOT NULL COMMENT 'id',
  `template_id` varchar(64) NOT NULL COMMENT '钉钉消息类型',
  `title` varchar(64) DEFAULT NULL COMMENT '模板标题',
  `content` varchar(1000) DEFAULT NULL COMMENT '模板内容',
  `example` varchar(200) DEFAULT NULL COMMENT '模板示例',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='钉钉模板';

DROP TABLE IF EXISTS `gen_code_snippet`;
CREATE TABLE `gen_code_snippet` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `snippet_code` varchar(64) NOT NULL COMMENT '片段编码',
  `snippet_name` varchar(256) NOT NULL COMMENT '片段名称',
  `snippet_type` varchar(64) NOT NULL COMMENT '片段类型',
  `snippet_content` text NOT NULL COMMENT '片段内容',
  `snippet_desc` varchar(256) DEFAULT NULL COMMENT '片段描述',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uq_snippet_code` (`snippet_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='代码片段列表';

DROP TABLE IF EXISTS `gen_table`;
CREATE TABLE `gen_table` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `source_code` varchar(255) NOT NULL,
  `source_name` varchar(255) NOT NULL,
  `table_name` varchar(64) NOT NULL COMMENT '表名',
  `class_name` varchar(100) NOT NULL COMMENT '实体类名称',
  `comments` text NOT NULL COMMENT '表说明',
  `tpl_category` text COMMENT '生成模板分类',
  `package_name` text COMMENT '生成包路径',
  `module_name` varchar(30) DEFAULT NULL COMMENT '生成模块名',
  `sub_module_name` varchar(30) DEFAULT NULL COMMENT '生成子模块名',
  `function_name` text COMMENT '生成功能名',
  `function_name_simple` varchar(100) DEFAULT NULL COMMENT '生成功能名（简写）',
  `function_author` varchar(100) DEFAULT NULL COMMENT '生成功能作者',
  `gen_base_dir` text COMMENT '生成基础路径',
  `options` text COMMENT '其它生成选项',
  `child_table_code` varchar(64) DEFAULT NULL COMMENT '子表关联表名',
  `child_field_code` varchar(64) DEFAULT NULL COMMENT '子表关联字段',
  `is_sync` tinyint(1) DEFAULT NULL COMMENT '是否同步表结构 0-否 1-是',
  `remark` varchar(255) DEFAULT NULL COMMENT '备注信息',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uq_source_table_name` (`source_code`,`table_name`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='生成表';

DROP TABLE IF EXISTS `gen_table_column`;
CREATE TABLE `gen_table_column` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `table_id` bigint(20) DEFAULT NULL,
  `table_name` varchar(64) NOT NULL COMMENT '表名',
  `column_name` varchar(64) NOT NULL COMMENT '列名',
  `column_type` varchar(100) NOT NULL COMMENT '类型',
  `comments` text COMMENT '列说明',
  `java_field` varchar(200) NOT NULL COMMENT 'JAVA字段名',
  `java_type` text NOT NULL COMMENT 'JAVA字段类型',
  `is_pk` char(1) DEFAULT NULL COMMENT '是否主键',
  `is_null` char(1) DEFAULT NULL COMMENT '是否可为空',
  `is_insert` char(1) DEFAULT NULL COMMENT '是否插入字段',
  `is_update` char(1) DEFAULT NULL COMMENT '是否更新字段',
  `is_list` char(1) DEFAULT NULL COMMENT '是否列表字段',
  `is_query` char(1) DEFAULT NULL COMMENT '是否查询字段',
  `query_type` varchar(200) DEFAULT NULL COMMENT '查询方式',
  `is_edit` char(1) DEFAULT NULL COMMENT '是否编辑',
  `is_delt` char(1) DEFAULT NULL COMMENT '是否编辑字段',
  `show_type` varchar(200) DEFAULT NULL COMMENT '表单类型',
  `dict_type` varchar(200) DEFAULT NULL COMMENT '字典类型',
  `sorts` decimal(8,0) DEFAULT NULL COMMENT '排序（升序）',
  `valid` text COMMENT '字段验证',
  `options` text COMMENT '其它生成选项',
  `remarks` varchar(255) DEFAULT NULL COMMENT '备注信息',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uq_table_id_colnumn` (`table_id`,`column_name`,`table_name`) USING BTREE,
  KEY `IDX_GEN_TABLE_COLUMN_TN` (`table_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='生成表字段';

DROP TABLE IF EXISTS `gen_table_template`;
CREATE TABLE `gen_table_template` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `template_code` varchar(64) NOT NULL COMMENT '模板编码',
  `template_name` varchar(256) NOT NULL COMMENT '模板描述',
  `template_file` varchar(512) NOT NULL COMMENT '模板文件路径',
  `app_type` varchar(64) DEFAULT NULL COMMENT '程序类型',
  `file_path` varchar(256) DEFAULT NULL COMMENT '代码文件路径',
  `file_name` varchar(256) DEFAULT NULL COMMENT '代码文件名',
  `file_content` text COMMENT '代码内容',
  `remark` varchar(256) DEFAULT NULL COMMENT '备注信息',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uq_source_table_name` (`template_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='生成模板列表';

DROP TABLE IF EXISTS `gen_table_template_type`;
CREATE TABLE `gen_table_template_type` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `template_code` varchar(64) NOT NULL COMMENT '模板编码',
  `template_name` varchar(256) NOT NULL COMMENT '模板描述',
  `type_code` varchar(64) NOT NULL COMMENT '分类编码',
  `type_name` varchar(256) NOT NULL COMMENT '分类描述',
  `remark` varchar(256) DEFAULT NULL COMMENT '备注信息',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uq_source_table_name` (`template_code`,`type_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='模板分类维护';

DROP TABLE IF EXISTS `msg_channel`;
CREATE TABLE `msg_channel` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `channel_code` varchar(64) NOT NULL COMMENT '通道编码',
  `channel_name` varchar(200) NOT NULL COMMENT '通道名称',
  `channel_service` varchar(200) NOT NULL COMMENT '通道提供服务名',
  `channel_class` varchar(64) NOT NULL COMMENT '通道分类码',
  `config_param` varchar(4000) DEFAULT NULL COMMENT '配置参数 JSON',
  `enable_flag` tinyint(3) DEFAULT '0' COMMENT '1启用0不启用，一个通道分类只能有一个启用',
  `edit_flag` tinyint(3) DEFAULT '0' COMMENT '1自定义配置0默认',
  `remark` varchar(200) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='通道定义';

DROP TABLE IF EXISTS `msg_channel_log`;
CREATE TABLE `msg_channel_log` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `app_id` varchar(64) NOT NULL COMMENT 'app id',
  `saas_id` varchar(64) DEFAULT NULL COMMENT '业务-租户id',
  `biz_id` varchar(64) DEFAULT NULL COMMENT '业务-消息id',
  `channel_class` varchar(64) NOT NULL COMMENT '通道分类码',
  `method_args` text COMMENT '方法参数',
  `exec_result` text COMMENT '返回结果',
  `exec_flag` tinyint(4) NOT NULL DEFAULT '1' COMMENT '调用是否成功1成功0异常',
  `remark` varchar(512) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='通道日志';

DROP TABLE IF EXISTS `msg_dingtalk_account`;
CREATE TABLE `msg_dingtalk_account` (
  `id` bigint(4) NOT NULL COMMENT 'id',
  `account_id` varchar(64) NOT NULL COMMENT '钉钉编号-平台定义',
  `account_name` varchar(200) NOT NULL COMMENT '钉钉名称',
  `config_param` varchar(4000) DEFAULT NULL COMMENT '配置参数 JSON-含真正钉钉参数',
  `remark` varchar(200) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='钉钉账号设置';

DROP TABLE IF EXISTS `msg_dingtalk_auth`;
CREATE TABLE `msg_dingtalk_auth` (
  `id` bigint(4) NOT NULL COMMENT 'id',
  `account_id` varchar(64) NOT NULL COMMENT '钉钉编号-平台定义',
  `app_id` varchar(64) NOT NULL COMMENT 'app id',
  `remark` varchar(200) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='钉钉授权';

DROP TABLE IF EXISTS `msg_dingtalk_record`;
CREATE TABLE `msg_dingtalk_record` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `biz_id` varchar(64) DEFAULT NULL COMMENT '业务-消息id',
  `template_id` varchar(64) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '钉钉模板ID',
  `content` varchar(2000) DEFAULT NULL COMMENT '推送内容',
  `content_param` varchar(2000) DEFAULT NULL COMMENT '参数 JSON',
  `result_msg` varchar(1000) DEFAULT NULL COMMENT '返回信息',
  `receiver` varchar(64) DEFAULT NULL COMMENT '接收者(openID)',
  `status` tinyint(4) DEFAULT NULL COMMENT '发送状态  0：失败  1：成功',
  `remark` varchar(200) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='钉钉发送记录';

DROP TABLE IF EXISTS `msg_dingtalk_template`;
CREATE TABLE `msg_dingtalk_template` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `app_id` varchar(64) NOT NULL COMMENT 'app id （PT公用）',
  `signature_code` varchar(64) NOT NULL COMMENT '签名码',
  `template_id` varchar(64) NOT NULL COMMENT '平台模板编号',
  `template_name` varchar(100) DEFAULT NULL COMMENT '模板名称',
  `content` varchar(2000) DEFAULT NULL COMMENT '转换规则',
  `remark` varchar(200) DEFAULT NULL COMMENT '备注',
  `account_id` varchar(64) DEFAULT NULL COMMENT '钉钉号-平台定义',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='平台钉钉模板';

DROP TABLE IF EXISTS `msg_mail_record`;
CREATE TABLE `msg_mail_record` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `biz_id` varchar(64) DEFAULT NULL COMMENT '业务-消息id',
  `template_id` varchar(64) NOT NULL COMMENT '模板编号',
  `mail_from` varchar(200) DEFAULT NULL COMMENT '发送者',
  `mail_to` varchar(400) DEFAULT NULL COMMENT '收件人',
  `mail_cc` varchar(400) DEFAULT NULL COMMENT '抄送者',
  `subject` varchar(200) DEFAULT NULL COMMENT '邮件主题',
  `content` varchar(2000) DEFAULT NULL COMMENT '正文',
  `content_param` varchar(2000) DEFAULT NULL COMMENT '参数 JSON',
  `status` tinyint(3) unsigned DEFAULT NULL COMMENT '发送状态  0：失败  1：成功',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='邮件记录';

DROP TABLE IF EXISTS `msg_mail_template`;
CREATE TABLE `msg_mail_template` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `app_id` varchar(64) NOT NULL COMMENT 'app id （PT公用）',
  `signature_code` varchar(64) NOT NULL COMMENT '签名码',
  `template_id` varchar(64) NOT NULL COMMENT '模板编号',
  `template_name` varchar(100) DEFAULT NULL COMMENT '模板名称',
  `content` varchar(1000) DEFAULT NULL COMMENT '邮件正文模板',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='邮件模板';

DROP TABLE IF EXISTS `msg_pool`;
CREATE TABLE `msg_pool` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `app_id` varchar(64) NOT NULL COMMENT 'app id',
  `saas_id` varchar(64) DEFAULT NULL COMMENT '业务-租户id',
  `biz_id` varchar(64) DEFAULT NULL COMMENT '业务-消息id',
  `method_args` text COMMENT '消息参数 ',
  `status` tinyint(4) DEFAULT NULL COMMENT '通道发送状态1全部成功0默认',
  `remark` varchar(512) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='消息池';

DROP TABLE IF EXISTS `msg_push_log`;
CREATE TABLE `msg_push_log` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `app_id` varchar(64) NOT NULL COMMENT 'app id',
  `saas_id` varchar(64) DEFAULT NULL COMMENT '业务-租户id',
  `biz_id` varchar(64) DEFAULT NULL COMMENT '业务-消息id',
  `method_args` text COMMENT '方法参数',
  `exec_result` text COMMENT '返回结果',
  `exec_flag` tinyint(4) NOT NULL DEFAULT '1' COMMENT '调用是否成功1成功0异常',
  `remark` varchar(512) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='入口日志';

DROP TABLE IF EXISTS `msg_record`;
CREATE TABLE `msg_record` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `title` varchar(500) DEFAULT NULL COMMENT '消息标题',
  `content` text COMMENT '内容',
  `type` varchar(100) DEFAULT '1' COMMENT '消息类型-字典定义',
  `level` tinyint(4) DEFAULT '1' COMMENT '消息级别-1重要2一般3低',
  `url` varchar(500) DEFAULT NULL COMMENT '业务路由URL',
  `receiver_ids` text COMMENT '接收者 username 多个,号分割 ',
  `sender` varchar(200) DEFAULT NULL COMMENT '发送者签名',
  `send_date` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '发送时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  `should_nums` decimal(10,0) DEFAULT NULL COMMENT '应读',
  `read_nums` decimal(10,0) DEFAULT '0' COMMENT '已读',
  `biz_id` bigint(20) DEFAULT NULL COMMENT '业务关联键',
  `biz_type` varchar(50) DEFAULT NULL COMMENT '业务类型-防止业务键值重复',
  `status` tinyint(4) DEFAULT '0' COMMENT '状态-0默认1删除',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `idx_msg_record_bizid` (`biz_id`,`biz_type`) USING BTREE COMMENT '业务键索引',
  KEY `idx_msg_record_date` (`send_date`) USING BTREE COMMENT '发送时间索引'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='消息记录表';

DROP TABLE IF EXISTS `msg_record_read`;
CREATE TABLE `msg_record_read` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `msg_id` bigint(20) NOT NULL COMMENT '消息id',
  `receiver` varchar(64) DEFAULT NULL COMMENT '接收者',
  `send_date` datetime DEFAULT NULL COMMENT '发送时间',
  `read_date` datetime DEFAULT NULL COMMENT '阅读时间',
  `read_status` tinyint(4) DEFAULT '0' COMMENT '状态-0未读1已读',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  `status` tinyint(4) DEFAULT '0' COMMENT '状态-0默认1删除',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_msg_record_read_1` (`receiver`,`status`) USING BTREE COMMENT '阅读者索引',
  KEY `idx_msg_record_read_2` (`msg_id`) USING BTREE COMMENT '外键索引'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='消息阅读表';

DROP TABLE IF EXISTS `msg_signature`;
CREATE TABLE `msg_signature` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `signature_code` varchar(64) NOT NULL COMMENT '签名码',
  `signature_text` varchar(200) DEFAULT NULL COMMENT '签名内容',
  `app_id` varchar(64) NOT NULL COMMENT 'app id',
  `remark` varchar(200) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='签名配置';

DROP TABLE IF EXISTS `msg_sms_record`;
CREATE TABLE `msg_sms_record` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `biz_id` varchar(64) DEFAULT NULL COMMENT '业务-消息id',
  `template_id` varchar(64) NOT NULL COMMENT '模板编号',
  `mobile` varchar(20) DEFAULT NULL COMMENT '手机号',
  `content` varchar(2000) DEFAULT NULL COMMENT '正文',
  `content_param` varchar(2000) DEFAULT NULL COMMENT '参数 JSON',
  `status` tinyint(3) DEFAULT NULL COMMENT '发送状态  0：失败  1：成功',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='短信记录';

DROP TABLE IF EXISTS `msg_sms_template`;
CREATE TABLE `msg_sms_template` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `app_id` varchar(64) NOT NULL COMMENT 'app id （PT公用）',
  `signature_code` varchar(64) NOT NULL COMMENT '签名码',
  `template_id` varchar(64) NOT NULL COMMENT '模板编号',
  `template_name` varchar(100) DEFAULT NULL COMMENT '模板名称',
  `content` varchar(1000) DEFAULT NULL COMMENT '正文模板',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='短信模板';

DROP TABLE IF EXISTS `msg_wechat_account`;
CREATE TABLE `msg_wechat_account` (
  `id` bigint(4) NOT NULL COMMENT 'id',
  `account_id` varchar(64) NOT NULL COMMENT '微信公众号编号-平台定义',
  `account_name` varchar(200) NOT NULL COMMENT '微信公众号名称',
  `config_param` varchar(4000) DEFAULT NULL COMMENT '配置参数 JSON-含真正公众号',
  `remark` varchar(200) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='微信公众号设置';

DROP TABLE IF EXISTS `msg_wechat_auth`;
CREATE TABLE `msg_wechat_auth` (
  `id` bigint(4) NOT NULL COMMENT 'id',
  `account_id` varchar(64) NOT NULL COMMENT '微信公众号编号-平台定义',
  `app_id` varchar(64) NOT NULL COMMENT 'app id',
  `remark` varchar(200) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='微信公众号授权';

DROP TABLE IF EXISTS `msg_wechat_record`;
CREATE TABLE `msg_wechat_record` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `biz_id` varchar(64) DEFAULT NULL COMMENT '业务-消息id',
  `template_id` varchar(64) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '微信模板ID',
  `template_id_wx` varchar(64) DEFAULT NULL COMMENT '模板ID-官方',
  `content` varchar(2000) DEFAULT NULL COMMENT '推送内容',
  `content_param` varchar(2000) DEFAULT NULL COMMENT '参数 JSON',
  `result_msg` varchar(1000) DEFAULT NULL COMMENT '返回信息',
  `receiver` varchar(64) DEFAULT NULL COMMENT '接收者(openID)',
  `status` tinyint(4) DEFAULT NULL COMMENT '发送状态  0：失败  1：成功',
  `remark` varchar(200) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='微信发送记录';

DROP TABLE IF EXISTS `msg_wechat_template`;
CREATE TABLE `msg_wechat_template` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `app_id` varchar(64) NOT NULL COMMENT 'app id （PT公用）',
  `signature_code` varchar(64) NOT NULL COMMENT '签名码',
  `template_id` varchar(64) NOT NULL COMMENT '平台模板编号',
  `template_name` varchar(100) DEFAULT NULL COMMENT '模板名称',
  `content` varchar(2000) DEFAULT NULL COMMENT '转换规则',
  `remark` varchar(200) DEFAULT NULL COMMENT '备注',
  `template_id_wx` varchar(64) DEFAULT NULL COMMENT '模板ID-官方',
  `account_id` varchar(64) DEFAULT NULL COMMENT '微信公众号-平台定义',
  `title_wx` varchar(64) DEFAULT NULL COMMENT '官方模板标题-冗余',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='平台微信模板';

DROP TABLE IF EXISTS `msg_wechat_template_rel`;
CREATE TABLE `msg_wechat_template_rel` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `app_id` varchar(64) NOT NULL COMMENT 'app id',
  `template_id` varchar(64) NOT NULL COMMENT '模板编号-平台',
  `template_id_wx` varchar(64) DEFAULT NULL COMMENT '模板ID-官方',
  `account_id` varchar(64) NOT NULL COMMENT '微信公众号-平台',
  `remark` varchar(200) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='微信模板关系';

DROP TABLE IF EXISTS `sys_app`;
CREATE TABLE `sys_app` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `app_id` varchar(64) NOT NULL COMMENT 'app账号',
  `app_name` varchar(200) NOT NULL COMMENT 'app名称',
  `app_type` varchar(50) NOT NULL COMMENT '账户类型1多租户0单应用',
  `app_contacts` varchar(100) NOT NULL COMMENT 'app联系人',
  `app_phone` varchar(100) NOT NULL COMMENT 'app联系电话',
  `app_mail` varchar(100) NOT NULL COMMENT 'app邮箱',
  `app_address` varchar(500) NOT NULL COMMENT '联系地址',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `idx_sys_app_1` (`app_id`) USING BTREE COMMENT 'app-id索引'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='app扩展表';

DROP TABLE IF EXISTS `sys_app_auth`;
CREATE TABLE `sys_app_auth` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `app_id` varchar(64) NOT NULL COMMENT 'app账号',
  `access_key` varchar(128) NOT NULL COMMENT '访问key',
  `service_id` varchar(50) NOT NULL COMMENT '云服务id-字典值',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='云服务授权表';

DROP TABLE IF EXISTS `sys_dept`;
CREATE TABLE `sys_dept` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `pid` bigint(20) DEFAULT NULL COMMENT '上级ID',
  `pids` varchar(500) DEFAULT NULL COMMENT '所有上级ID，用逗号分开',
  `name` varchar(50) DEFAULT NULL COMMENT '部门名称',
  `dept_type` varchar(64) DEFAULT NULL COMMENT '部门类型',
  `sort` int(10) unsigned DEFAULT NULL COMMENT '排序',
  `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '0停用，1正常',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_pid` (`pid`) USING BTREE,
  KEY `idx_sort` (`sort`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='部门管理';

DROP TABLE IF EXISTS `sys_dict_data`;
CREATE TABLE `sys_dict_data` (
  `id` bigint(20) NOT NULL COMMENT '字典编码',
  `pid` bigint(20) NOT NULL COMMENT '父级编号',
  `pids` varchar(500) DEFAULT NULL COMMENT '所有父级编号',
  `sort` int(11) DEFAULT NULL COMMENT '本级排序号（升序）',
  `is_leaf` tinyint(4) DEFAULT '0' COMMENT '是否最末级',
  `level` tinyint(4) DEFAULT '0' COMMENT '层次级别',
  `pnames` varchar(1000) DEFAULT NULL COMMENT '全节点名',
  `dict_label` varchar(100) NOT NULL COMMENT '字典标签',
  `dict_value` varchar(100) NOT NULL COMMENT '字典键值',
  `dict_type` varchar(100) NOT NULL COMMENT '字典类型',
  `remark` varchar(200) DEFAULT NULL COMMENT '字典描述',
  `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '状态（1正常  0停用）',
  `creator` varchar(64) NOT NULL COMMENT '创建者',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `updater` varchar(64) NOT NULL COMMENT '更新者',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  `version` int(11) NOT NULL DEFAULT '0' COMMENT '版本号',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_sys_dict_data_dt` (`dict_type`) USING BTREE,
  KEY `idx_sys_dict_data_status` (`status`) USING BTREE,
  KEY `idx_sys_dict_data_dv` (`dict_value`) USING BTREE,
  KEY `idx_sys_dict_data_pc` (`pid`) USING BTREE,
  KEY `idx_sys_dict_data_ts` (`sort`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='字典数据表';

DROP TABLE IF EXISTS `sys_dict_type`;
CREATE TABLE `sys_dict_type` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `dict_name` varchar(100) NOT NULL COMMENT '字典名称',
  `dict_type` varchar(100) NOT NULL COMMENT '字典类型',
  `is_sys` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否系统字典,1系统，0自定义',
  `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '状态（1正常  0停用）',
  `creator` varchar(64) NOT NULL COMMENT '创建者',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `updater` varchar(64) NOT NULL COMMENT '更新者',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  `version` int(11) DEFAULT NULL COMMENT '版本号',
  `remark` varchar(200) DEFAULT NULL COMMENT '备注信息',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uq_sys_dict_type_code` (`dict_type`) USING BTREE,
  KEY `idx_sys_dict_type_is` (`is_sys`) USING BTREE,
  KEY `idx_sys_dict_type_status` (`status`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='字典类型表';

DROP TABLE IF EXISTS `sys_language`;
CREATE TABLE `sys_language` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '数据库主键',
  `table_name` varchar(32) NOT NULL COMMENT '表名',
  `table_id` bigint(20) NOT NULL COMMENT '表主键',
  `field_name` varchar(32) NOT NULL COMMENT '字段名',
  `field_value` varchar(200) NOT NULL COMMENT '字段值',
  `language` varchar(10) NOT NULL COMMENT '语言',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uq_table_id` (`table_name`,`table_id`,`field_name`,`language`) USING BTREE COMMENT '数据去重唯一索引',
  KEY `idx_table_id` (`table_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1202521106861207555 DEFAULT CHARSET=utf8 COMMENT='国际化';

DROP TABLE IF EXISTS `sys_log_error`;
CREATE TABLE `sys_log_error` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `request_uri` varchar(200) DEFAULT NULL COMMENT '请求URI',
  `request_method` varchar(20) DEFAULT NULL COMMENT '请求方式',
  `request_params` text COMMENT '请求参数',
  `user_agent` varchar(500) DEFAULT NULL COMMENT '用户代理',
  `ip` varchar(32) DEFAULT NULL COMMENT '操作IP',
  `error_info` text COMMENT '异常信息',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_create_date` (`create_date`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='异常日志';

DROP TABLE IF EXISTS `sys_log_login`;
CREATE TABLE `sys_log_login` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `operation` tinyint(3) unsigned DEFAULT NULL COMMENT '用户操作   0：用户登录   1：用户退出',
  `status` tinyint(3) unsigned NOT NULL COMMENT '状态  0：失败    1：成功    2：账号已锁定',
  `user_agent` varchar(500) DEFAULT NULL COMMENT '用户代理',
  `ip` varchar(32) DEFAULT NULL COMMENT '操作IP',
  `creator_name` varchar(50) DEFAULT NULL COMMENT '用户名',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_status` (`status`) USING BTREE,
  KEY `idx_create_date` (`create_date`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='登录日志';

DROP TABLE IF EXISTS `sys_log_operation`;
CREATE TABLE `sys_log_operation` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `operation` varchar(50) DEFAULT NULL COMMENT '用户操作',
  `request_uri` varchar(200) DEFAULT NULL COMMENT '请求URI',
  `request_method` varchar(20) DEFAULT NULL COMMENT '请求方式',
  `request_params` text COMMENT '请求参数',
  `request_time` int(10) unsigned NOT NULL COMMENT '请求时长(毫秒)',
  `user_agent` varchar(500) DEFAULT NULL COMMENT '用户代理',
  `ip` varchar(32) DEFAULT NULL COMMENT '操作IP',
  `status` tinyint(3) unsigned NOT NULL COMMENT '状态  0：失败   1：成功',
  `creator_name` varchar(50) DEFAULT NULL COMMENT '用户名',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_create_date` (`create_date`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='操作日志';

DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `pid` bigint(20) DEFAULT NULL COMMENT '上级ID，一级菜单为0',
  `url` varchar(200) DEFAULT NULL COMMENT '菜单URL',
  `permissions` varchar(500) DEFAULT NULL COMMENT '授权(多个用逗号分隔，如：sys:user:list,sys:user:save)',
  `type` tinyint(3) unsigned DEFAULT NULL COMMENT '类型   0：菜单   1：按钮',
  `icon` varchar(50) DEFAULT NULL COMMENT '菜单图标',
  `css_style` varchar(255) DEFAULT NULL COMMENT 'cssy样式',
  `front_color` varchar(255) DEFAULT NULL COMMENT '前景色',
  `bg_color` varchar(255) DEFAULT NULL COMMENT '背景色',
  `sort` int(11) DEFAULT NULL COMMENT '排序',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  `is_important` char(1) DEFAULT '0' COMMENT '是否为敏感菜单',
  `menu_class` varchar(50) DEFAULT NULL COMMENT '菜单分类',
  `client` varchar(50) DEFAULT NULL COMMENT '客户端',
  `show_flag` tinyint(4) NOT NULL DEFAULT '1' COMMENT '是否显示',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_pid` (`pid`) USING BTREE,
  KEY `idx_sort` (`sort`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='菜单管理';

DROP TABLE IF EXISTS `sys_oss`;
CREATE TABLE `sys_oss` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `url` varchar(200) DEFAULT NULL COMMENT 'URL地址',
  `file_class` varchar(200) DEFAULT NULL COMMENT '文件分类',
  `file_content_type` varchar(200) DEFAULT NULL COMMENT '文件类型',
  `file_ext` varchar(100) DEFAULT NULL COMMENT '文件扩展名',
  `file_size` decimal(38,0) DEFAULT NULL COMMENT '文件大小(单位B)',
  `file_md5` varchar(64) DEFAULT NULL COMMENT '文件MD5',
  `file_ori_name` varchar(500) DEFAULT NULL COMMENT '原文件名',
  `file_save_name` varchar(500) DEFAULT NULL COMMENT '存储文件名',
  `biz_id` bigint(20) DEFAULT NULL COMMENT '业务主键',
  `dir_value` varchar(50) DEFAULT NULL COMMENT '业务目录键值',
  `oss_type` int(11) DEFAULT NULL COMMENT '云服务 编号',
  `oss_id` varchar(200) DEFAULT NULL COMMENT '网络服务存储后提供的id',
  `local_physical_pathname` varchar(2000) DEFAULT NULL COMMENT '本地存储相对路径',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  `version` int(11) DEFAULT '0' COMMENT '版本',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_sys_oss_1` (`file_md5`) USING BTREE,
  KEY `idx_sys_oss_2` (`biz_id`) USING BTREE,
  KEY `idx_sys_oss_3` (`dir_value`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='文件管理';

DROP TABLE IF EXISTS `sys_oss_dir`;
CREATE TABLE `sys_oss_dir` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `pid` bigint(20) DEFAULT NULL COMMENT '上级ID',
  `name` varchar(200) DEFAULT NULL COMMENT '业务目录名称',
  `value` varchar(50) DEFAULT NULL COMMENT '业务目录键值',
  `pids` varchar(500) DEFAULT NULL COMMENT '所有上级ID，用逗号分开',
  `pnames` varchar(5000) DEFAULT NULL COMMENT '所有上级name，用逗号分开',
  `sort` int(10) DEFAULT NULL COMMENT '排序',
  `tree_level` int(10) DEFAULT NULL COMMENT '层级',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `idx_sys_oss_dir_value` (`value`) USING BTREE,
  KEY `idx_sys_oss_dir_1` (`pid`) USING BTREE,
  KEY `idx_sys_oss_dir_2` (`pids`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='业务目录树表';

DROP TABLE IF EXISTS `sys_params`;
CREATE TABLE `sys_params` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `param_code` varchar(32) DEFAULT NULL COMMENT '参数编码',
  `param_value` varchar(2000) DEFAULT NULL COMMENT '参数值',
  `param_type` tinyint(4) DEFAULT NULL COMMENT '参数类型： 由数据字典定义，1系统参数，0模板',
  `remark` varchar(200) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uk_param_code` (`param_code`) USING BTREE,
  KEY `idx_create_date` (`create_date`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='参数管理';

DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `name` varchar(50) DEFAULT NULL COMMENT '角色名称',
  `remark` varchar(100) DEFAULT NULL COMMENT '备注',
  `dept_id` bigint(20) DEFAULT NULL COMMENT '部门ID',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  `role_grade` char(1) NOT NULL DEFAULT '0' COMMENT '级别 - 1超级管理员2二级管理员0普通',
  `version` int(11) NOT NULL DEFAULT '0' COMMENT '乐观锁标记',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_dept_id` (`dept_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='角色管理';

DROP TABLE IF EXISTS `sys_role_menu`;
CREATE TABLE `sys_role_menu` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `role_id` bigint(20) DEFAULT NULL COMMENT '角色ID',
  `menu_id` bigint(20) DEFAULT NULL COMMENT '菜单ID',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_role_id` (`role_id`) USING BTREE,
  KEY `idx_menu_id` (`menu_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='角色菜单关系';

DROP TABLE IF EXISTS `sys_role_rule`;
CREATE TABLE `sys_role_rule` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `role_id` bigint(20) NOT NULL COMMENT '角色ID',
  `rule_sort` varchar(100) NOT NULL COMMENT '分类表名-对应sys_dict_data表的dict_value',
  `rule_id` bigint(20) DEFAULT NULL COMMENT '数据权限项id',
  `custom_data` text COMMENT '自定义数据',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  `version` int(11) DEFAULT '0' COMMENT '乐观锁标记',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='角色数据权限表';

DROP TABLE IF EXISTS `sys_role_user`;
CREATE TABLE `sys_role_user` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `role_id` bigint(20) DEFAULT NULL COMMENT '角色ID',
  `user_id` bigint(20) DEFAULT NULL COMMENT '用户ID',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_role_id` (`role_id`) USING BTREE,
  KEY `idx_user_id` (`user_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='角色用户关系';

DROP TABLE IF EXISTS `sys_rule_data`;
CREATE TABLE `sys_rule_data` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `name` varchar(200) NOT NULL COMMENT '规则名称',
  `value` varchar(10) NOT NULL COMMENT '规则值',
  `rule_sort` varchar(100) NOT NULL COMMENT '权限分类',
  `sort` int(11) NOT NULL COMMENT '排序码',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `remark` varchar(200) DEFAULT NULL COMMENT '备注',
  `rule_sql` varchar(4000) DEFAULT NULL COMMENT '规则实现sql',
  `rule_args` varchar(4000) DEFAULT NULL COMMENT '参数',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='数据权限项规则';

DROP TABLE IF EXISTS `sys_rule_sort`;
CREATE TABLE `sys_rule_sort` (
  `id` bigint(20) NOT NULL COMMENT '权限分类id',
  `sort` int(11) DEFAULT NULL COMMENT '排序号（升序）',
  `name` varchar(100) NOT NULL COMMENT '权限描述',
  `value` varchar(100) NOT NULL COMMENT '权限键值',
  `sql_cust` varchar(4000) NOT NULL COMMENT '权限自定义待选项',
  `remark` varchar(200) DEFAULT NULL COMMENT '权限描述',
  `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '状态（1正常  0停用）',
  `creator` varchar(64) NOT NULL COMMENT '创建者',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `updater` varchar(64) NOT NULL COMMENT '更新者',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  `version` int(11) NOT NULL DEFAULT '0' COMMENT '版本号',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_sys_rule_sort_1` (`value`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='权限分类';

DROP TABLE IF EXISTS `sys_schema_history`;
CREATE TABLE `sys_schema_history` (
  `installed_rank` int(11) NOT NULL,
  `version` varchar(50) DEFAULT NULL,
  `description` varchar(200) NOT NULL,
  `type` varchar(20) NOT NULL,
  `script` varchar(1000) NOT NULL,
  `checksum` int(11) DEFAULT NULL,
  `installed_by` varchar(100) NOT NULL,
  `installed_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `execution_time` int(11) NOT NULL,
  `success` tinyint(1) NOT NULL,
  PRIMARY KEY (`installed_rank`),
  KEY `sys_schema_history_s_idx` (`success`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

DROP TABLE IF EXISTS `sys_token`;
CREATE TABLE `sys_token` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `user_id` bigint(20) NOT NULL COMMENT '接口定义描述',
  `token` varchar(512) NOT NULL COMMENT '用户token',
  `client_type` varchar(100) DEFAULT NULL COMMENT '客户端类型',
  `first_login_date` datetime DEFAULT NULL COMMENT 'token创建时间',
  `last_login_date` datetime DEFAULT NULL COMMENT 'token最后登录时间',
  `expire_date` datetime DEFAULT NULL COMMENT '过期时间',
  `memo` varchar(512) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `udx_sys_token_2` (`token`) USING BTREE,
  UNIQUE KEY `udx_sys_token_1` (`user_id`,`client_type`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='系统token表';

DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `username` varchar(50) NOT NULL COMMENT '用户名',
  `password` varchar(100) DEFAULT NULL COMMENT '密码',
  `real_name` varchar(50) DEFAULT NULL COMMENT '姓名',
  `head_url` varchar(200) DEFAULT NULL COMMENT '头像',
  `gender` tinyint(3) unsigned DEFAULT NULL COMMENT '性别   0：男   1：女    2：保密',
  `email` varchar(100) DEFAULT NULL COMMENT '邮箱',
  `mobile` varchar(100) DEFAULT NULL COMMENT '手机号',
  `dept_id` bigint(20) DEFAULT NULL COMMENT '部门ID',
  `super_admin` tinyint(3) unsigned DEFAULT NULL COMMENT '超级管理员   0：否   1：是',
  `status` tinyint(4) DEFAULT NULL COMMENT '状态  0：停用   1：正常',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  `allow_ip_queue` varchar(4000) DEFAULT NULL COMMENT '允许此用户登录的IP队列',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uk_username` (`username`) USING BTREE,
  KEY `idx_create_date` (`create_date`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='系统用户';

DROP TABLE IF EXISTS `sys_user_datascope`;
CREATE TABLE `sys_user_datascope` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `user_id` bigint(20) NOT NULL COMMENT '用户id',
  `username` varchar(50) NOT NULL COMMENT '用户名',
  `token` varchar(256) NOT NULL COMMENT 'token',
  `real_name` varchar(50) DEFAULT NULL COMMENT '姓名',
  `email` varchar(100) DEFAULT NULL COMMENT '邮箱',
  `mobile` varchar(100) DEFAULT NULL COMMENT '手机号',
  `data_scope_type` varchar(64) NOT NULL COMMENT '数据权限分类',
  `data_scope_value` varchar(512) NOT NULL COMMENT '数据权限值',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  KEY `nm_sys_user_datascope` (`user_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='当前登录用户的数据权限';

DROP TABLE IF EXISTS `sys_user_login`;
CREATE TABLE `sys_user_login` (
  `user_id` bigint(20) NOT NULL COMMENT '关联用户表id',
  `question1` varchar(100) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '密保问题1',
  `answer1` varchar(100) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '密保答案1',
  `question2` varchar(100) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '密保问题2',
  `answer2` varchar(100) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '密保答案2',
  `question3` varchar(100) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '密保问题3',
  `answer3` varchar(100) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '密保答案3',
  `pwd_level` tinyint(4) NOT NULL DEFAULT '0' COMMENT '密码级别，0初始 1很弱 2弱 3安全 4很安全',
  `pwd_date` datetime DEFAULT NULL COMMENT '密码修改时间',
  `login_ip` varchar(32) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '最后登录IP',
  `login_date` datetime DEFAULT NULL COMMENT '最后登录时间',
  `freeze_date` datetime DEFAULT NULL COMMENT '账户冻结时间',
  `create_date` datetime NOT NULL COMMENT '账户创建时间',
  `update_date` datetime DEFAULT NULL COMMENT '记录更新时间',
  PRIMARY KEY (`user_id`) USING BTREE,
  KEY `idx_create_date` (`create_date`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='用户登录信息表';

DROP TABLE IF EXISTS `sys_user_open`;
CREATE TABLE `sys_user_open` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `user_id` bigint(20) NOT NULL COMMENT '关联用户表id',
  `type` varchar(64) DEFAULT NULL COMMENT '类型',
  `appid` varchar(64) DEFAULT NULL COMMENT 'appid',
  `openid` varchar(64) DEFAULT NULL COMMENT 'openid',
  `unionid` varchar(64) DEFAULT NULL COMMENT 'unionid',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_create_date` (`create_date`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户三方登录扩展表';

DROP TABLE IF EXISTS `wechat_template`;
CREATE TABLE `wechat_template` (
  `id` bigint(4) NOT NULL COMMENT 'id',
  `account_id` varchar(64) NOT NULL COMMENT '微信公众号-平台定义',
  `template_id_wx` varchar(64) NOT NULL COMMENT '微信模板ID-官方',
  `title` varchar(64) DEFAULT NULL COMMENT '模板标题',
  `primary_industry` varchar(64) DEFAULT NULL COMMENT '模板所属行业的一级行业',
  `deputy_industry` varchar(64) DEFAULT NULL COMMENT '模板所属行业的二级行业',
  `content` varchar(1000) DEFAULT NULL COMMENT '模板内容',
  `example` varchar(200) DEFAULT NULL COMMENT '模板示例',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='微信模板';
/*
Navicat MySQL Data Transfer

Target Server Type    : MYSQL
Target Server Version : 50723
File Encoding         : 65001

Date: 2019-12-06 10:30:48
*/

INSERT INTO `sys_dict_data` VALUES ('1133609792879747074', '1133609568903913474', '', '0', '0', '0', null, '中文繁体', 'zh-TW', 'SYS_LANGUANGE_TYPE', 'zh-TW', '1', 'admin', '2019-05-29 13:43:31', 'admin', '2019-05-29 13:43:31', '0');
INSERT INTO `sys_dict_data` VALUES ('1133609889508122626', '1133609568903913474', '', '1', '0', '0', null, '中文简体', 'zh-CN', 'SYS_LANGUANGE_TYPE', 'zh-CN', '1', 'admin', '2019-05-29 13:43:54', 'admin', '2019-05-29 13:43:54', '0');
INSERT INTO `sys_dict_data` VALUES ('1133610031762137090', '1133609568903913474', '', '2', '0', '0', null, '英文美版', 'en-US', 'SYS_LANGUANGE_TYPE', 'en-US', '1', 'admin', '2019-05-29 13:44:28', 'admin', '2019-05-29 13:44:28', '0');
INSERT INTO `sys_dict_data` VALUES ('1137724956565725185', '1137724811547664386', '', '0', '0', '0', null, '后台', 'C01', 'SYS_MENU_CLIENT', '', '1', 'admin', '2019-06-09 22:15:42', 'admin', '2019-12-04 10:32:49', '0');
INSERT INTO `sys_dict_data` VALUES ('1137725016112259074', '1137724811547664386', '', '1', '0', '0', null, 'APP', 'C02', 'SYS_MENU_CLIENT', '', '1', 'admin', '2019-06-09 22:15:56', 'admin', '2019-07-17 14:05:44', '0');
INSERT INTO `sys_dict_data` VALUES ('1137725079957954561', '1137724811547664386', '', '2', '0', '0', null, '小程序', 'C03', 'SYS_MENU_CLIENT', '', '1', 'admin', '2019-06-09 22:16:12', 'admin', '2019-07-17 14:06:44', '0');
INSERT INTO `sys_dict_data` VALUES ('1137725209440313345', '1137724811547664386', '', '3', '0', '0', null, 'H5', 'C04', 'SYS_MENU_CLIENT', '', '1', 'admin', '2019-06-09 22:16:42', 'admin', '2019-07-17 14:06:50', '0');
INSERT INTO `sys_dict_data` VALUES ('1156458593021603841', '1156458412087717889', '', '0', '0', '0', '', '按成员比例通过', '1', 'FLOW_MULINST_TYPE', '', '1', 'admin', '2019-07-31 14:56:29', 'admin', '2019-07-31 15:01:15', '0');
INSERT INTO `sys_dict_data` VALUES ('1156459052511801346', '1156458412087717889', '', '1', '0', '0', '', '关键审批人决定', '0', 'FLOW_MULINST_TYPE', '', '1', 'admin', '2019-07-31 14:58:19', 'admin', '2019-07-31 15:01:43', '0');
INSERT INTO `sys_dict_data` VALUES ('1183925673189298177', '1183925551151828994', '', '0', '0', '0', '', '流程发起人', 'user_curr', 'FLOW_USER_TYPE', '', '1', 'admin', '2019-10-15 10:00:51', 'admin', '2019-10-15 10:00:51', '0');
INSERT INTO `sys_dict_data` VALUES ('1183925721373462530', '1183925551151828994', '', '0', '0', '0', '', '处理人上级', 'user_parent', 'FLOW_USER_TYPE', '', '1', 'admin', '2019-10-15 10:01:03', 'admin', '2019-10-15 10:01:03', '0');
INSERT INTO `sys_dict_data` VALUES ('1183925784116056065', '1183925551151828994', '', '0', '0', '0', '', '正常用户', 'user_normal', 'FLOW_USER_TYPE', '', '1', 'admin', '2019-10-15 10:01:18', 'admin', '2019-10-15 10:01:18', '0');
INSERT INTO `sys_dict_data` VALUES ('1183926039968600066', '1183925551151828994', '', '0', '0', '0', '', '自定义用户', 'user_custom', 'FLOW_USER_TYPE', '', '1', 'admin', '2019-10-15 10:02:19', 'admin', '2019-10-15 10:06:44', '0');
INSERT INTO `sys_dict_data` VALUES ('1186154368236326914', '1186154264037232642', '', '0', '0', '0', null, 'String', 'String', 'GEN_JAVA_FIELD_TYPE', '', '1', 'admin', '2019-10-21 13:36:54', 'admin', '2019-10-21 13:36:54', '0');
INSERT INTO `sys_dict_data` VALUES ('1186154415871037442', '1186154264037232642', '', '1', '0', '0', null, 'Long', 'Long', 'GEN_JAVA_FIELD_TYPE', '', '1', 'admin', '2019-10-21 13:37:05', 'admin', '2019-10-21 13:37:05', '0');
INSERT INTO `sys_dict_data` VALUES ('1186154512864317442', '1186154264037232642', '', '2', '0', '0', null, 'Boolean', 'Boolean', 'GEN_JAVA_FIELD_TYPE', '', '1', 'admin', '2019-10-21 13:37:28', 'admin', '2019-10-21 13:37:28', '0');
INSERT INTO `sys_dict_data` VALUES ('1186154571517464577', '1186154264037232642', '', '3', '0', '0', null, 'Integer', 'Integer', 'GEN_JAVA_FIELD_TYPE', '', '1', 'admin', '2019-10-21 13:37:42', 'admin', '2019-10-21 13:37:48', '0');
INSERT INTO `sys_dict_data` VALUES ('1186154723934277633', '1186154264037232642', '', '4', '0', '0', null, 'Date', 'java.util.Date', 'GEN_JAVA_FIELD_TYPE', '', '1', 'admin', '2019-10-21 13:38:19', 'admin', '2019-10-21 13:38:19', '0');
INSERT INTO `sys_dict_data` VALUES ('1186157515356835842', '1186157420804640770', '', '0', '0', '0', null, '=', 'eq', 'GEN_QUERY_TYPE', '', '1', 'admin', '2019-10-21 13:49:24', 'admin', '2019-10-21 13:49:24', '0');
INSERT INTO `sys_dict_data` VALUES ('1186157571392737281', '1186157420804640770', '', '1', '0', '0', null, '!=', 'ne', 'GEN_QUERY_TYPE', '', '1', 'admin', '2019-10-21 13:49:37', 'admin', '2019-10-21 13:49:37', '0');
INSERT INTO `sys_dict_data` VALUES ('1186157853577121794', '1186157420804640770', '', '2', '0', '0', null, '>', 'gt', 'GEN_QUERY_TYPE', '', '1', 'admin', '2019-10-21 13:50:45', 'admin', '2019-10-21 13:50:45', '0');
INSERT INTO `sys_dict_data` VALUES ('1186157914356781058', '1186157420804640770', '', '3', '0', '0', null, '>=', 'ge', 'GEN_QUERY_TYPE', '', '1', 'admin', '2019-10-21 13:50:59', 'admin', '2019-10-21 13:50:59', '0');
INSERT INTO `sys_dict_data` VALUES ('1186157979477544961', '1186157420804640770', '', '4', '0', '0', null, '<', 'lt', 'GEN_QUERY_TYPE', '', '1', 'admin', '2019-10-21 13:51:15', 'admin', '2019-10-21 13:51:45', '0');
INSERT INTO `sys_dict_data` VALUES ('1186158022574018561', '1186157420804640770', '', '5', '0', '0', null, '<=', 'le', 'GEN_QUERY_TYPE', '', '1', 'admin', '2019-10-21 13:51:25', 'admin', '2019-10-21 13:51:52', '0');
INSERT INTO `sys_dict_data` VALUES ('1186158185753415681', '1186157420804640770', '', '6', '0', '0', null, 'like', 'like', 'GEN_QUERY_TYPE', '', '1', 'admin', '2019-10-21 13:52:04', 'admin', '2019-10-21 13:52:04', '0');
INSERT INTO `sys_dict_data` VALUES ('1186159153039609858', '1186159068402749442', '', '0', '0', '0', null, '非空校验', 'required', 'GEN_VALID_TYPE', '', '1', 'admin', '2019-10-21 13:55:55', 'admin', '2019-10-21 13:55:55', '0');
INSERT INTO `sys_dict_data` VALUES ('1186159209427832834', '1186159068402749442', '', '1', '0', '0', null, '邮箱格式', 'email', 'GEN_VALID_TYPE', '\r\n', '1', 'admin', '2019-10-21 13:56:08', 'admin', '2019-10-21 13:57:06', '0');
INSERT INTO `sys_dict_data` VALUES ('1186159258522161154', '1186159068402749442', '', '2', '0', '0', null, '手机号', 'mobile', 'GEN_VALID_TYPE', '', '1', 'admin', '2019-10-21 13:56:20', 'admin', '2019-10-21 13:56:20', '0');
INSERT INTO `sys_dict_data` VALUES ('1186159317619904514', '1186159068402749442', '', '3', '0', '0', null, '电话号码', 'phone', 'GEN_VALID_TYPE', '', '1', 'admin', '2019-10-21 13:56:34', 'admin', '2019-10-21 13:56:34', '0');
INSERT INTO `sys_dict_data` VALUES ('1186159368425508866', '1186159068402749442', '', '4', '0', '0', null, 'URL网址', 'url', 'GEN_VALID_TYPE', '', '1', 'admin', '2019-10-21 13:56:46', 'admin', '2019-10-21 13:56:46', '0');
INSERT INTO `sys_dict_data` VALUES ('1186159428290809858', '1186159068402749442', '', '5', '0', '0', null, '纯数字', 'num', 'GEN_VALID_TYPE', '', '1', 'admin', '2019-10-21 13:57:00', 'admin', '2019-10-21 13:57:00', '0');
INSERT INTO `sys_dict_data` VALUES ('1186159818088452097', '1186159723645308929', '', '0', '0', '0', null, '单行文本框', 'input', 'GEN_EDIT_TYPE', '', '1', 'admin', '2019-10-21 13:58:33', 'admin', '2019-10-21 13:58:33', '0');
INSERT INTO `sys_dict_data` VALUES ('1186159873067388929', '1186159723645308929', '', '1', '0', '0', null, '计数框', 'number', 'GEN_EDIT_TYPE', '', '1', 'admin', '2019-10-21 13:58:46', 'admin', '2019-10-21 13:58:46', '0');
INSERT INTO `sys_dict_data` VALUES ('1186159926964195330', '1186159723645308929', '', '7', '0', '0', null, '多行文本框', 'textarea', 'GEN_EDIT_TYPE', '', '1', 'admin', '2019-10-21 13:58:59', 'admin', '2019-10-21 14:01:22', '0');
INSERT INTO `sys_dict_data` VALUES ('1186160000377098241', '1186159723645308929', '', '9', '0', '0', null, '隐藏文本框', 'hidden', 'GEN_EDIT_TYPE', '', '1', 'admin', '2019-10-21 13:59:17', 'admin', '2019-10-21 14:01:00', '0');
INSERT INTO `sys_dict_data` VALUES ('1186160051241422850', '1186159723645308929', '', '2', '0', '0', null, '下拉控件', 'select', 'GEN_EDIT_TYPE', '', '1', 'admin', '2019-10-21 13:59:29', 'admin', '2019-10-21 14:01:39', '0');
INSERT INTO `sys_dict_data` VALUES ('1186160103527616513', '1186159723645308929', '', '4', '0', '0', null, '单选控件', 'radiobox', 'GEN_EDIT_TYPE', '\r\n', '1', 'admin', '2019-10-21 13:59:41', 'admin', '2019-10-21 14:01:53', '0');
INSERT INTO `sys_dict_data` VALUES ('1186160143184760833', '1186159723645308929', '', '5', '0', '0', null, '复选控件', 'checkbox', 'GEN_EDIT_TYPE', '', '1', 'admin', '2019-10-21 13:59:51', 'admin', '2019-10-21 14:02:07', '0');
INSERT INTO `sys_dict_data` VALUES ('1186160177116680194', '1186159723645308929', '', '3', '0', '0', null, '日期控件', 'dateselect', 'GEN_EDIT_TYPE', '', '1', 'admin', '2019-10-21 13:59:59', 'admin', '2019-10-21 14:01:47', '0');
INSERT INTO `sys_dict_data` VALUES ('1186160230682136577', '1186159723645308929', '', '10', '0', '0', null, '父级选择框', 'parentselect', 'GEN_EDIT_TYPE', '', '1', 'admin', '2019-10-21 14:00:11', 'admin', '2019-10-21 14:00:50', '0');
INSERT INTO `sys_dict_data` VALUES ('1186160276920143874', '1186159723645308929', '', '8', '0', '0', null, '富文本编辑框', 'editor', 'GEN_EDIT_TYPE', '', '1', 'admin', '2019-10-21 14:00:22', 'admin', '2019-10-21 14:01:13', '0');
INSERT INTO `sys_dict_data` VALUES ('1186160318972235778', '1186159723645308929', '', '6', '0', '0', null, '开关控件', 'switch', 'GEN_EDIT_TYPE', '', '1', 'admin', '2019-10-21 14:00:32', 'admin', '2019-10-21 14:02:00', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161013813219329', '1186160903486246914', '', '1', '0', '0', null, '一行一栏', '24', 'GEN_EDIT_LAYOUT', '', '1', 'admin', '2019-10-21 14:03:18', 'admin', '2019-10-21 14:03:43', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161050207195137', '1186160903486246914', '', '0', '0', '0', null, '一行两栏', '12', 'GEN_EDIT_LAYOUT', '', '1', 'admin', '2019-10-21 14:03:27', 'admin', '2019-10-21 14:03:27', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161084646625282', '1186160903486246914', '', '2', '0', '0', null, '一行三栏', '8', 'GEN_EDIT_LAYOUT', '', '1', 'admin', '2019-10-21 14:03:35', 'admin', '2019-10-21 14:03:51', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161402629394433', '1186161330101489665', '', '5', '0', '0', null, '排序', 'sorts', 'GEN_COMMON_FIELD', '', '1', 'admin', '2019-10-21 14:04:51', 'admin', '2019-10-21 14:08:10', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161443196702722', '1186161330101489665', '', '5', '0', '0', null, '排序', 'sort', 'GEN_COMMON_FIELD', '', '1', 'admin', '2019-10-21 14:05:01', 'admin', '2019-10-21 14:08:16', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161489526984706', '1186161330101489665', '', '2', '0', '0', null, '是否有下级', 'hasNext', 'GEN_COMMON_FIELD', '', '1', 'admin', '2019-10-21 14:05:12', 'admin', '2019-10-21 14:08:32', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161554740023297', '1186161330101489665', '', '2', '0', '0', null, '树级别', 'treeLevel', 'GEN_COMMON_FIELD', '', '1', 'admin', '2019-10-21 14:05:27', 'admin', '2019-10-21 14:08:25', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161592690085890', '1186161330101489665', '', '1', '0', '0', null, '父级编码', 'parentCode', 'GEN_COMMON_FIELD', '', '1', 'admin', '2019-10-21 14:05:36', 'admin', '2019-10-21 14:07:28', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161637007101953', '1186161330101489665', '', '1', '0', '0', null, '所有父级编码', 'parentCodes', 'GEN_COMMON_FIELD', '', '1', 'admin', '2019-10-21 14:05:47', 'admin', '2019-10-21 14:07:19', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161684813778945', '1186161330101489665', '', '1', '0', '0', null, '父级ID', 'pid', 'GEN_COMMON_FIELD', '', '1', 'admin', '2019-10-21 14:05:58', 'admin', '2019-10-21 14:07:47', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161736156254210', '1186161330101489665', '', '1', '0', '0', null, '所有父级ID', 'pids', 'GEN_COMMON_FIELD', '', '1', 'admin', '2019-10-21 14:06:10', 'admin', '2019-10-21 14:07:36', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161767710003202', '1186161330101489665', '', '0', '0', '0', null, '状态', 'status', 'GEN_COMMON_FIELD', '', '1', 'admin', '2019-10-21 14:06:18', 'admin', '2019-10-21 14:06:18', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161812857491457', '1186161330101489665', '', '0', '0', '0', null, '创建人', 'creator', 'GEN_COMMON_FIELD', '', '1', 'admin', '2019-10-21 14:06:29', 'admin', '2019-10-21 14:06:29', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161845665337345', '1186161330101489665', '', '0', '0', '0', null, '创建时间', 'createDate', 'GEN_COMMON_FIELD', '', '1', 'admin', '2019-10-21 14:06:36', 'admin', '2019-10-21 14:06:36', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161876787073026', '1186161330101489665', '', '0', '0', '0', null, '更新人', 'updater', 'GEN_COMMON_FIELD', '', '1', 'admin', '2019-10-21 14:06:44', 'admin', '2019-10-21 14:06:44', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161910861598722', '1186161330101489665', '', '0', '0', '0', null, '更新时间', 'updateDate', 'GEN_COMMON_FIELD', '', '1', 'admin', '2019-10-21 14:06:52', 'admin', '2019-10-21 14:06:52', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161938166517761', '1186161330101489665', '', '4', '0', '0', null, '备注', 'remarks', 'GEN_COMMON_FIELD', '', '1', 'admin', '2019-10-21 14:06:59', 'admin', '2019-10-21 14:07:56', '0');
INSERT INTO `sys_dict_data` VALUES ('1186161965215584258', '1186161330101489665', '', '4', '0', '0', null, '备注', 'remark', 'GEN_COMMON_FIELD', '', '1', 'admin', '2019-10-21 14:07:05', 'admin', '2019-10-21 14:08:02', '0');
INSERT INTO `sys_dict_data` VALUES ('1186199405473079298', '1186199309905862657', '', '0', '0', '0', null, '有效', '0', 'SYS_STATUS', '', '1', 'admin', '2019-10-21 16:35:51', 'admin', '2019-10-21 16:35:51', '0');
INSERT INTO `sys_dict_data` VALUES ('1186199443381198850', '1186199309905862657', '', '0', '0', '0', null, '无效', '1', 'SYS_STATUS', '', '1', 'admin', '2019-10-21 16:36:00', 'admin', '2019-10-21 16:36:00', '0');
INSERT INTO `sys_dict_data` VALUES ('1186518664757747713', '1186518011306156033', '', '0', '0', '0', null, '单体应用-单表操作(对话框)', 'crud-dialog', 'GEN_TEMP_TYPE', '', '1', 'admin', '2019-10-22 13:44:29', 'admin', '2019-10-22 13:46:03', '0');
INSERT INTO `sys_dict_data` VALUES ('1186518742784385025', '1186518011306156033', '', '1', '0', '0', null, '单体应用-单表操作(Tab页)', 'crud-tab', 'GEN_TEMP_TYPE', '', '1', 'admin', '2019-10-22 13:44:47', 'admin', '2019-10-22 13:44:47', '0');
INSERT INTO `sys_dict_data` VALUES ('1186518835243622402', '1186518011306156033', '', '2', '0', '0', null, '单体应用-树表操作(对话框)', 'crud-tree', 'GEN_TEMP_TYPE', '', '1', 'admin', '2019-10-22 13:45:09', 'admin', '2019-10-22 13:45:09', '0');
INSERT INTO `sys_dict_data` VALUES ('1186518913786159106', '1186518011306156033', '', '3', '0', '0', null, '单体应用-工作流表单', 'curd-bpm', 'GEN_TEMP_TYPE', '', '1', 'admin', '2019-10-22 13:45:28', 'admin', '2019-10-22 13:46:08', '0');
INSERT INTO `sys_dict_data` VALUES ('1186633503698096129', '1186632409647452161', '', '0', '0', '0', null, 'JAVA后台', 'java', 'GEN_TEMP_APP_TYPE', '', '1', 'admin', '2019-10-22 21:20:49', 'admin', '2019-10-22 21:20:49', '0');
INSERT INTO `sys_dict_data` VALUES ('1186633541056761857', '1186632409647452161', '', '1', '0', '0', null, 'WEB前端', 'webui', 'GEN_TEMP_APP_TYPE', '', '1', 'admin', '2019-10-22 21:20:57', 'admin', '2019-10-22 21:21:04', '0');
INSERT INTO `sys_dict_data` VALUES ('1186875935694094338', '1186632409647452161', '', '2', '0', '0', null, '国际化', 'i18n', 'GEN_TEMP_APP_TYPE', '', '1', 'admin', '2019-10-23 13:24:09', 'admin', '2019-10-23 13:24:09', '0');
INSERT INTO `sys_dict_data` VALUES ('1187260745189027842', '1187260193373810689', '', '0', '0', '0', null, '单体应用-主子表模版(Tab页)', 'parent-tab', 'GEN_TEMP_TYPE_PARENT', '', '1', 'admin', '2019-10-24 14:53:15', 'admin', '2019-10-24 14:53:15', '0');
INSERT INTO `sys_dict_data` VALUES ('1187260822846566402', '1187260193373810689', '', '1', '0', '0', null, '单体应用-父子表模版(Dialog页)', 'parent-dialog', 'GEN_TEMP_TYPE_PARENT', '', '1', 'admin', '2019-10-24 14:53:33', 'admin', '2019-10-24 14:53:33', '0');
INSERT INTO `sys_dict_data` VALUES ('1187260919948898305', '1187260193373810689', '', '2', '0', '0', null, '单体应用-父子表模版(可编辑Table)', 'parent-edittable', 'GEN_TEMP_TYPE_PARENT', '', '1', 'admin', '2019-10-24 14:53:56', 'admin', '2019-10-24 14:53:56', '0');
INSERT INTO `sys_dict_data` VALUES ('1199147743069540353', '1118141845779759106', '', '1', '0', '0', null, '通知公告', 'M01', 'SYS_MSG_TYPE', '', '1', 'admin', '2019-11-26 10:07:56', 'admin', '2019-12-05 18:02:51', '0');
INSERT INTO `sys_dict_data` VALUES ('1199147887634616321', '1118141845779759106', '', '2', '0', '0', null, '工作提醒', 'M02', 'SYS_MSG_TYPE', '', '1', 'admin', '2019-11-26 10:08:30', 'admin', '2019-12-05 18:03:14', '0');
INSERT INTO `sys_dict_data` VALUES ('1199147994656477185', '1118141845779759106', '', '3', '0', '0', null, '业务预警', 'M03', 'SYS_MSG_TYPE', '', '1', 'admin', '2019-11-26 10:08:56', 'admin', '2019-12-05 18:03:19', '0');
INSERT INTO `sys_dict_data` VALUES ('1199148043566256129', '1118141845779759106', '', '4', '0', '0', null, '业务通知', 'M04', 'SYS_MSG_TYPE', '', '1', 'admin', '2019-11-26 10:09:07', 'admin', '2019-12-05 18:03:24', '0');
INSERT INTO `sys_dict_data` VALUES ('1199148103662243841', '1118141845779759106', '', '5', '0', '0', null, '系统消息', 'M99', 'SYS_MSG_TYPE', '', '1', 'admin', '2019-11-26 10:09:22', 'admin', '2019-12-05 18:03:29', '0');

INSERT INTO `sys_dict_type` VALUES ('1118141845779759106', '消息类型', 'SYS_MSG_TYPE', '1', '1', 'admin', '2019-04-16 21:19:25', 'admin', '2019-12-05 18:09:42', null, '');
INSERT INTO `sys_dict_type` VALUES ('1130386105317752833', '业务流程分类', 'BPM_FORM_TYPE', '0', '1', 'admin', '2019-05-20 16:13:44', 'admin', '2019-12-05 18:06:12', null, '');
INSERT INTO `sys_dict_type` VALUES ('1133609568903913474', '国际化语言类型', 'SYS_LANGUANGE_TYPE', '1', '1', 'admin', '2019-05-29 13:42:37', 'admin', '2019-07-01 23:53:43', null, '');
INSERT INTO `sys_dict_type` VALUES ('1137724811547664386', '菜单客户端', 'SYS_MENU_CLIENT', '1', '1', 'admin', '2019-06-09 22:15:08', 'admin', '2019-07-01 23:53:38', null, '');
INSERT INTO `sys_dict_type` VALUES ('1156458412087717889', '工作流-会签决策方式', 'FLOW_MULINST_TYPE', '1', '1', 'admin', '2019-07-31 14:55:46', 'admin', '2019-07-31 14:55:53', null, '');
INSERT INTO `sys_dict_type` VALUES ('1183925551151828994', '工作流用户类型', 'FLOW_USER_TYPE', '1', '1', 'admin', '2019-10-15 10:00:22', 'admin', '2019-10-15 10:00:22', null, '');
INSERT INTO `sys_dict_type` VALUES ('1186154264037232642', '代码生成-JAVA字段类型', 'GEN_JAVA_FIELD_TYPE', '1', '1', 'admin', '2019-10-21 13:36:29', 'admin', '2019-10-21 13:36:35', null, '');
INSERT INTO `sys_dict_type` VALUES ('1186157420804640770', '代码生成-查询字段类型', 'GEN_QUERY_TYPE', '1', '1', 'admin', '2019-10-21 13:49:02', 'admin', '2019-10-21 13:49:07', null, '');
INSERT INTO `sys_dict_type` VALUES ('1186159068402749442', '代码生成-字段验证方式', 'GEN_VALID_TYPE', '1', '1', 'admin', '2019-10-21 13:55:34', 'admin', '2019-10-21 13:55:34', null, '');
INSERT INTO `sys_dict_type` VALUES ('1186159723645308929', '代码生成-编辑字段控件类型', 'GEN_EDIT_TYPE', '1', '1', 'admin', '2019-10-21 13:58:11', 'admin', '2019-10-21 13:58:11', null, '');
INSERT INTO `sys_dict_type` VALUES ('1186160903486246914', '代码生成-编辑表单布局控制', 'GEN_EDIT_LAYOUT', '1', '1', 'admin', '2019-10-21 14:02:52', 'admin', '2019-10-21 14:02:57', null, '');
INSERT INTO `sys_dict_type` VALUES ('1186161330101489665', '代码生成-公共字段', 'GEN_COMMON_FIELD', '1', '1', 'admin', '2019-10-21 14:04:34', 'admin', '2019-12-05 16:26:51', null, '');
INSERT INTO `sys_dict_type` VALUES ('1186199309905862657', '系统数据状态', 'SYS_STATUS', '1', '1', 'admin', '2019-10-21 16:35:29', 'admin', '2019-10-21 16:35:35', null, '');
INSERT INTO `sys_dict_type` VALUES ('1186518011306156033', '代码生成-单表模板类型', 'GEN_TEMP_TYPE', '1', '1', 'admin', '2019-10-22 13:41:53', 'admin', '2019-10-24 14:50:15', null, '');
INSERT INTO `sys_dict_type` VALUES ('1186632409647452161', '代码生成--模板后台类型', 'GEN_TEMP_APP_TYPE', '1', '1', 'admin', '2019-10-22 21:16:28', 'admin', '2019-12-05 16:26:05', null, '');
INSERT INTO `sys_dict_type` VALUES ('1187260193373810689', '代码生成-主子表模板类型', 'GEN_TEMP_TYPE_PARENT', '1', '1', 'admin', '2019-10-24 14:51:03', 'admin', '2019-12-05 16:26:02', null, '');
INSERT INTO `sys_dict_type` VALUES ('1202504335001272321', '部门类型', 'SYS_DEPT_TYPE', '0', '1', 'admin', '2019-12-05 16:25:50', 'admin', '2019-12-05 18:05:15', null, '');

INSERT INTO `sys_language` VALUES ('1', 'sys_menu', '1067246875800000002', 'name', 'Authority Management', 'en-US');
INSERT INTO `sys_language` VALUES ('2', 'sys_menu', '1067246875800000002', 'name', '权限管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('3', 'sys_menu', '1067246875800000002', 'name', '權限管理', 'zh-TW');
INSERT INTO `sys_language` VALUES ('4', 'sys_menu', '1067246875800000003', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('5', 'sys_menu', '1067246875800000003', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('6', 'sys_menu', '1067246875800000003', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('7', 'sys_menu', '1067246875800000004', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('8', 'sys_menu', '1067246875800000004', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('9', 'sys_menu', '1067246875800000004', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('10', 'sys_menu', '1067246875800000005', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('11', 'sys_menu', '1067246875800000005', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('12', 'sys_menu', '1067246875800000005', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('13', 'sys_menu', '1067246875800000006', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('14', 'sys_menu', '1067246875800000006', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('15', 'sys_menu', '1067246875800000006', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('16', 'sys_menu', '1067246875800000007', 'name', 'Role Management', 'en-US');
INSERT INTO `sys_language` VALUES ('17', 'sys_menu', '1067246875800000007', 'name', '角色管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('18', 'sys_menu', '1067246875800000007', 'name', '角色管理', 'zh-TW');
INSERT INTO `sys_language` VALUES ('19', 'sys_menu', '1067246875800000008', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('20', 'sys_menu', '1067246875800000008', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('21', 'sys_menu', '1067246875800000008', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('22', 'sys_menu', '1067246875800000009', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('23', 'sys_menu', '1067246875800000009', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('24', 'sys_menu', '1067246875800000009', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('25', 'sys_menu', '1067246875800000010', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('26', 'sys_menu', '1067246875800000010', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('27', 'sys_menu', '1067246875800000010', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('28', 'sys_menu', '1067246875800000011', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('29', 'sys_menu', '1067246875800000011', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('30', 'sys_menu', '1067246875800000011', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('31', 'sys_menu', '1067246875800000012', 'name', 'Department Management', 'en-US');
INSERT INTO `sys_language` VALUES ('32', 'sys_menu', '1067246875800000012', 'name', '部门管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('33', 'sys_menu', '1067246875800000012', 'name', '部門管理', 'zh-TW');
INSERT INTO `sys_language` VALUES ('34', 'sys_menu', '1067246875800000013', 'name', 'Work Process', 'en-US');
INSERT INTO `sys_language` VALUES ('35', 'sys_menu', '1067246875800000013', 'name', '工作流程', 'zh-CN');
INSERT INTO `sys_language` VALUES ('36', 'sys_menu', '1067246875800000013', 'name', '工作流程', 'zh-TW');
INSERT INTO `sys_language` VALUES ('37', 'sys_menu', '1067246875800000014', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('38', 'sys_menu', '1067246875800000014', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('39', 'sys_menu', '1067246875800000014', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('40', 'sys_menu', '1067246875800000015', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('41', 'sys_menu', '1067246875800000015', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('42', 'sys_menu', '1067246875800000015', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('43', 'sys_menu', '1067246875800000016', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('44', 'sys_menu', '1067246875800000016', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('45', 'sys_menu', '1067246875800000016', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('46', 'sys_menu', '1067246875800000017', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('47', 'sys_menu', '1067246875800000017', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('48', 'sys_menu', '1067246875800000017', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('49', 'sys_menu', '1067246875800000018', 'name', 'Process Management', 'en-US');
INSERT INTO `sys_language` VALUES ('50', 'sys_menu', '1067246875800000018', 'name', '流程管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('51', 'sys_menu', '1067246875800000018', 'name', '流程管理', 'zh-TW');
INSERT INTO `sys_language` VALUES ('52', 'sys_menu', '1067246875800000019', 'name', 'Model Management', 'en-US');
INSERT INTO `sys_language` VALUES ('53', 'sys_menu', '1067246875800000019', 'name', '模型管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('54', 'sys_menu', '1067246875800000019', 'name', '模型管理', 'zh-TW');
INSERT INTO `sys_language` VALUES ('55', 'sys_menu', '1067246875800000020', 'name', 'Running Process', 'en-US');
INSERT INTO `sys_language` VALUES ('56', 'sys_menu', '1067246875800000020', 'name', '运行中的流程', 'zh-CN');
INSERT INTO `sys_language` VALUES ('57', 'sys_menu', '1067246875800000020', 'name', '運行中的流程', 'zh-TW');
INSERT INTO `sys_language` VALUES ('67', 'sys_menu', '1067246875800000024', 'name', 'Message Management', 'en-US');
INSERT INTO `sys_language` VALUES ('68', 'sys_menu', '1067246875800000024', 'name', '消息中心', 'zh-CN');
INSERT INTO `sys_language` VALUES ('69', 'sys_menu', '1067246875800000024', 'name', '消息管理', 'zh-TW');
INSERT INTO `sys_language` VALUES ('70', 'sys_menu', '1067246875800000025', 'name', 'Menu Management', 'en-US');
INSERT INTO `sys_language` VALUES ('71', 'sys_menu', '1067246875800000025', 'name', '菜单管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('72', 'sys_menu', '1067246875800000025', 'name', '菜單管理', 'zh-TW');
INSERT INTO `sys_language` VALUES ('73', 'sys_menu', '1067246875800000026', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('74', 'sys_menu', '1067246875800000026', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('75', 'sys_menu', '1067246875800000026', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('76', 'sys_menu', '1067246875800000027', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('77', 'sys_menu', '1067246875800000027', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('78', 'sys_menu', '1067246875800000027', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('79', 'sys_menu', '1067246875800000028', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('80', 'sys_menu', '1067246875800000028', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('81', 'sys_menu', '1067246875800000028', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('82', 'sys_menu', '1067246875800000029', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('83', 'sys_menu', '1067246875800000029', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('84', 'sys_menu', '1067246875800000029', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('100', 'sys_menu', '1067246875800000035', 'name', 'Setting', 'en-US');
INSERT INTO `sys_language` VALUES ('101', 'sys_menu', '1067246875800000035', 'name', '系统设置', 'zh-CN');
INSERT INTO `sys_language` VALUES ('102', 'sys_menu', '1067246875800000035', 'name', '系統設置', 'zh-TW');
INSERT INTO `sys_language` VALUES ('115', 'sys_menu', '1067246875800000040', 'name', 'Parameter Management', 'en-US');
INSERT INTO `sys_language` VALUES ('116', 'sys_menu', '1067246875800000040', 'name', '参数管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('117', 'sys_menu', '1067246875800000040', 'name', '參數管理', 'zh-TW');
INSERT INTO `sys_language` VALUES ('133', 'sys_menu', '1067246875800000046', 'name', 'Log Management', 'en-US');
INSERT INTO `sys_language` VALUES ('134', 'sys_menu', '1067246875800000046', 'name', '日志管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('135', 'sys_menu', '1067246875800000046', 'name', '日誌管理', 'zh-TW');
INSERT INTO `sys_language` VALUES ('139', 'sys_menu', '1067246875800000048', 'name', 'Login Log', 'en-US');
INSERT INTO `sys_language` VALUES ('140', 'sys_menu', '1067246875800000048', 'name', '登录日志', 'zh-CN');
INSERT INTO `sys_language` VALUES ('141', 'sys_menu', '1067246875800000048', 'name', '登錄日誌', 'zh-TW');
INSERT INTO `sys_language` VALUES ('142', 'sys_menu', '1067246875800000049', 'name', 'Operation Log', 'en-US');
INSERT INTO `sys_language` VALUES ('143', 'sys_menu', '1067246875800000049', 'name', '操作日志', 'zh-CN');
INSERT INTO `sys_language` VALUES ('144', 'sys_menu', '1067246875800000049', 'name', '操作日誌', 'zh-TW');
INSERT INTO `sys_language` VALUES ('145', 'sys_menu', '1067246875800000050', 'name', 'Error Log', 'en-US');
INSERT INTO `sys_language` VALUES ('146', 'sys_menu', '1067246875800000050', 'name', '异常日志', 'zh-CN');
INSERT INTO `sys_language` VALUES ('147', 'sys_menu', '1067246875800000050', 'name', '異常日誌', 'zh-TW');
INSERT INTO `sys_language` VALUES ('148', 'sys_menu', '1067246875800000051', 'name', 'SQL Monitoring', 'en-US');
INSERT INTO `sys_language` VALUES ('149', 'sys_menu', '1067246875800000051', 'name', 'SQL监控', 'zh-CN');
INSERT INTO `sys_language` VALUES ('150', 'sys_menu', '1067246875800000051', 'name', 'SQL監控', 'zh-TW');
INSERT INTO `sys_language` VALUES ('151', 'sys_menu', '1067246875800000053', 'name', 'System Monitoring', 'en-US');
INSERT INTO `sys_language` VALUES ('152', 'sys_menu', '1067246875800000053', 'name', '系统监控', 'zh-CN');
INSERT INTO `sys_language` VALUES ('153', 'sys_menu', '1067246875800000053', 'name', '系統監控', 'zh-TW');
INSERT INTO `sys_language` VALUES ('154', 'sys_menu', '1067246875800000055', 'name', 'User Management', 'en-US');
INSERT INTO `sys_language` VALUES ('155', 'sys_menu', '1067246875800000055', 'name', '用户管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('156', 'sys_menu', '1067246875800000055', 'name', '用戶管理', 'zh-TW');
INSERT INTO `sys_language` VALUES ('157', 'sys_menu', '1067246875800000056', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('158', 'sys_menu', '1067246875800000056', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('159', 'sys_menu', '1067246875800000056', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('160', 'sys_menu', '1067246875800000057', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('161', 'sys_menu', '1067246875800000057', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('162', 'sys_menu', '1067246875800000057', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('163', 'sys_menu', '1067246875800000058', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('164', 'sys_menu', '1067246875800000058', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('165', 'sys_menu', '1067246875800000058', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('166', 'sys_menu', '1067246875800000059', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('167', 'sys_menu', '1067246875800000059', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('168', 'sys_menu', '1067246875800000059', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('169', 'sys_menu', '1067246875800000060', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('170', 'sys_menu', '1067246875800000060', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('171', 'sys_menu', '1067246875800000060', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('172', 'sys_menu', '1067246875800000061', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('173', 'sys_menu', '1067246875800000061', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('174', 'sys_menu', '1067246875800000061', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('198', 'sys_menu', '1104945274515656706', 'name', 'DictManagement', 'en-US');
INSERT INTO `sys_language` VALUES ('199', 'sys_menu', '1104945274515656706', 'name', '字典管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('200', 'sys_menu', '1104945274515656706', 'name', '字典管理', 'zh-TW');
INSERT INTO `sys_language` VALUES ('201', 'sys_menu', '1104945274536628225', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('202', 'sys_menu', '1104945274536628225', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('203', 'sys_menu', '1104945274536628225', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('204', 'sys_menu', '1104945274536628226', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('205', 'sys_menu', '1104945274536628226', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('206', 'sys_menu', '1104945274536628226', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('207', 'sys_menu', '1104945274536628227', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('208', 'sys_menu', '1104945274536628227', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('209', 'sys_menu', '1104945274536628227', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('210', 'sys_menu', '1104945274536628228', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('211', 'sys_menu', '1104945274536628228', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('212', 'sys_menu', '1104945274536628228', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('213', 'sys_menu', '1104945274536628229', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('214', 'sys_menu', '1104945274536628229', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('215', 'sys_menu', '1104945274536628229', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('234', 'sys_menu', '1105673543542759425', 'name', 'SysConfig', 'en-US');
INSERT INTO `sys_language` VALUES ('235', 'sys_menu', '1105673543542759425', 'name', '系统配置', 'zh-CN');
INSERT INTO `sys_language` VALUES ('236', 'sys_menu', '1105673543542759425', 'name', '系統配置', 'zh-TW');
INSERT INTO `sys_language` VALUES ('237', 'sys_menu', '1105674278967828481', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('238', 'sys_menu', '1105674511944638465', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('249', 'sys_menu', '1108280267198582786', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('250', 'sys_menu', '1108280267198582786', 'name', '查看规则', 'zh-CN');
INSERT INTO `sys_language` VALUES ('251', 'sys_menu', '1108280267198582786', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('252', 'sys_menu', '1108280267198582787', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('253', 'sys_menu', '1108280267198582787', 'name', '新增规则', 'zh-CN');
INSERT INTO `sys_language` VALUES ('254', 'sys_menu', '1108280267198582787', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('255', 'sys_menu', '1108280267198582788', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('256', 'sys_menu', '1108280267198582788', 'name', '修改规则', 'zh-CN');
INSERT INTO `sys_language` VALUES ('257', 'sys_menu', '1108280267198582788', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('258', 'sys_menu', '1108280267198582789', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('259', 'sys_menu', '1108280267198582789', 'name', '删除规则', 'zh-CN');
INSERT INTO `sys_language` VALUES ('260', 'sys_menu', '1108280267198582789', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('261', 'sys_menu', '1108280267198582790', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('262', 'sys_menu', '1108280267198582790', 'name', '导出规则', 'zh-CN');
INSERT INTO `sys_language` VALUES ('263', 'sys_menu', '1108280267198582790', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('264', 'sys_menu', '1108978773529309186', 'name', 'SafetyAudit', 'en-US');
INSERT INTO `sys_language` VALUES ('265', 'sys_menu', '1108978773529309186', 'name', '安全审计', 'zh-CN');
INSERT INTO `sys_language` VALUES ('266', 'sys_menu', '1108978773529309186', 'name', '安全審計', 'zh-TW');
INSERT INTO `sys_language` VALUES ('267', 'sys_menu', '1108981176664174594', 'name', 'SecurityConfig', 'en-US');
INSERT INTO `sys_language` VALUES ('268', 'sys_menu', '1108981176664174594', 'name', '安全策略', 'zh-CN');
INSERT INTO `sys_language` VALUES ('269', 'sys_menu', '1108981176664174594', 'name', '安全策略', 'zh-TW');
INSERT INTO `sys_language` VALUES ('271', 'sys_menu', '1109015863500156929', 'name', '二级管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('272', 'sys_menu', '1110124168137531394', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('273', 'sys_menu', '1110124490260078593', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('274', 'sys_menu', '1110169486024237058', 'name', 'Interface document', 'en-US');
INSERT INTO `sys_language` VALUES ('275', 'sys_menu', '1110169486024237058', 'name', '接口文档', 'zh-CN');
INSERT INTO `sys_language` VALUES ('276', 'sys_menu', '1110169486024237058', 'name', '介面檔案', 'zh-TW');
INSERT INTO `sys_language` VALUES ('277', 'sys_menu', '1110386559477112834', 'name', 'PwdAudit', 'en-US');
INSERT INTO `sys_language` VALUES ('278', 'sys_menu', '1110386559477112834', 'name', '密码审计', 'zh-CN');
INSERT INTO `sys_language` VALUES ('279', 'sys_menu', '1110386559477112834', 'name', '密碼審計', 'zh-TW');
INSERT INTO `sys_language` VALUES ('280', 'sys_menu', '1110444051728101378', 'name', 'Online Users', 'en-US');
INSERT INTO `sys_language` VALUES ('281', 'sys_menu', '1110444051728101378', 'name', '在线用户', 'zh-CN');
INSERT INTO `sys_language` VALUES ('282', 'sys_menu', '1110444051728101378', 'name', '線上用戶', 'zh-TW');
INSERT INTO `sys_language` VALUES ('283', 'sys_menu', '1110444244569616386', 'name', '查询', 'zh-CN');
INSERT INTO `sys_language` VALUES ('284', 'sys_menu', '1110462041977982978', 'name', '强退', 'zh-CN');
INSERT INTO `sys_language` VALUES ('285', 'sys_menu', '1110756601934045185', 'name', 'JVM Monitoring', 'en-US');
INSERT INTO `sys_language` VALUES ('286', 'sys_menu', '1110756601934045185', 'name', 'JVM监控', 'zh-CN');
INSERT INTO `sys_language` VALUES ('287', 'sys_menu', '1110756601934045185', 'name', 'JVM監控', 'zh-TW');
INSERT INTO `sys_language` VALUES ('291', 'sys_menu', '1110807586852630530', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('292', 'sys_menu', '1110807738292170753', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('293', 'sys_menu', '1111643626912608257', 'name', 'Privilege Audit', 'en-US');
INSERT INTO `sys_language` VALUES ('294', 'sys_menu', '1111643626912608257', 'name', '权限审计', 'zh-CN');
INSERT INTO `sys_language` VALUES ('295', 'sys_menu', '1111643626912608257', 'name', '許可權稽核', 'zh-TW');
INSERT INTO `sys_language` VALUES ('296', 'sys_menu', '1112336828338483201', 'name', 'VIEW', 'en-US');
INSERT INTO `sys_language` VALUES ('297', 'sys_menu', '1112336828338483201', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('298', 'sys_menu', '1112336828338483201', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('308', 'sys_menu', '1112915743196971009', 'name', 'Setting Sensitive Menu', 'en-US');
INSERT INTO `sys_language` VALUES ('309', 'sys_menu', '1112915743196971009', 'name', '设置敏感菜单', 'zh-CN');
INSERT INTO `sys_language` VALUES ('310', 'sys_menu', '1112915743196971009', 'name', '設定敏感選單', 'zh-TW');
INSERT INTO `sys_language` VALUES ('311', 'sys_menu', '1112978398242054146', 'name', 'export', 'en-US');
INSERT INTO `sys_language` VALUES ('312', 'sys_menu', '1112978398242054146', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('313', 'sys_menu', '1112978398242054146', 'name', '匯出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('314', 'sys_menu', '1113617001195962370', 'name', 'ServerMonitoring', 'en-US');
INSERT INTO `sys_language` VALUES ('315', 'sys_menu', '1113617001195962370', 'name', '服务器监控', 'zh-CN');
INSERT INTO `sys_language` VALUES ('316', 'sys_menu', '1113617001195962370', 'name', '服務器監控', 'zh-TW');
INSERT INTO `sys_language` VALUES ('321', 'sys_menu', '1117706042473631745', 'name', 'My Site Info', 'en-US');
INSERT INTO `sys_language` VALUES ('322', 'sys_menu', '1117706042473631745', 'name', '我的消息', 'zh-CN');
INSERT INTO `sys_language` VALUES ('323', 'sys_menu', '1117706042473631745', 'name', '我的消息', 'zh-TW');
INSERT INTO `sys_language` VALUES ('335', 'sys_menu', '1118110319444697090', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('336', 'sys_menu', '1118110319444697090', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('337', 'sys_menu', '1118110319444697090', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('338', 'sys_menu', '1118336767388446722', 'name', 'Read and NoRead', 'en-US');
INSERT INTO `sys_language` VALUES ('339', 'sys_menu', '1118336767388446722', 'name', '已读未读', 'zh-CN');
INSERT INTO `sys_language` VALUES ('340', 'sys_menu', '1118336767388446722', 'name', '已讀未讀', 'zh-TW');
INSERT INTO `sys_language` VALUES ('341', 'sys_menu', '1118389915403546626', 'name', '开发工具', 'zh-CN');
INSERT INTO `sys_language` VALUES ('361', 'sys_menu', '1118413293341581313', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('362', 'sys_menu', '1118413293341581313', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('363', 'sys_menu', '1118413293341581313', 'name', '删除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('383', 'sys_menu', '1121324451186188290', 'name', 'User Center', 'en-US');
INSERT INTO `sys_language` VALUES ('384', 'sys_menu', '1121324451186188290', 'name', '用户中心', 'zh-CN');
INSERT INTO `sys_language` VALUES ('385', 'sys_menu', '1121324451186188290', 'name', '用戶中心', 'zh-TW');
INSERT INTO `sys_language` VALUES ('386', 'sys_menu', '1121324923284463617', 'name', 'Personal Center', 'en-US');
INSERT INTO `sys_language` VALUES ('387', 'sys_menu', '1121324923284463617', 'name', '个人中心', 'zh-CN');
INSERT INTO `sys_language` VALUES ('388', 'sys_menu', '1121324923284463617', 'name', '個人中心', 'zh-TW');
INSERT INTO `sys_language` VALUES ('389', 'sys_menu', '1122402413792096257', 'name', 'Workbench', 'en-US');
INSERT INTO `sys_language` VALUES ('390', 'sys_menu', '1122402413792096257', 'name', '工作台', 'zh-CN');
INSERT INTO `sys_language` VALUES ('391', 'sys_menu', '1122402413792096257', 'name', '工作台', 'zh-TW');
INSERT INTO `sys_language` VALUES ('393', 'sys_menu', '1122402524739825666', 'name', '系统管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('394', 'sys_menu', '1122402524739825666', 'name', '系統管理', 'zh-TW');
INSERT INTO `sys_language` VALUES ('395', 'sys_menu', '1122404527650009089', 'name', 'My Work', 'en-US');
INSERT INTO `sys_language` VALUES ('396', 'sys_menu', '1122404527650009089', 'name', '我的工作', 'zh-CN');
INSERT INTO `sys_language` VALUES ('397', 'sys_menu', '1122404527650009089', 'name', '我的工作', 'zh-TW');
INSERT INTO `sys_language` VALUES ('418', 'sys_menu', '1130380195256020993', 'name', 'Process Form Definition', 'en-US');
INSERT INTO `sys_language` VALUES ('419', 'sys_menu', '1130380195256020993', 'name', '发起表单定义', 'zh-CN');
INSERT INTO `sys_language` VALUES ('420', 'sys_menu', '1130380195256020993', 'name', '流程表單定義', 'zh-TW');
INSERT INTO `sys_language` VALUES ('421', 'sys_menu', '1130380195256020994', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('422', 'sys_menu', '1130380195256020994', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('423', 'sys_menu', '1130380195256020994', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('424', 'sys_menu', '1130380195256020995', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('425', 'sys_menu', '1130380195256020995', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('426', 'sys_menu', '1130380195256020995', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('427', 'sys_menu', '1130380195256020996', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('428', 'sys_menu', '1130380195256020996', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('429', 'sys_menu', '1130380195256020996', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('430', 'sys_menu', '1130380195256020997', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('431', 'sys_menu', '1130380195256020997', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('432', 'sys_menu', '1130380195256020997', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('455', 'sys_menu', '1131091080756801538', 'name', 'My application', 'en-US');
INSERT INTO `sys_language` VALUES ('456', 'sys_menu', '1131091080756801538', 'name', '我的申请', 'zh-CN');
INSERT INTO `sys_language` VALUES ('457', 'sys_menu', '1131091080756801538', 'name', '我的申請', 'zh-TW');
INSERT INTO `sys_language` VALUES ('458', 'sys_menu', '1131091080756801539', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('459', 'sys_menu', '1131091080756801539', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('460', 'sys_menu', '1131091080756801539', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('461', 'sys_menu', '1131091080756801540', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('462', 'sys_menu', '1131091080756801540', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('463', 'sys_menu', '1131091080756801540', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('464', 'sys_menu', '1131091080756801541', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('465', 'sys_menu', '1131091080756801541', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('466', 'sys_menu', '1131091080756801541', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('467', 'sys_menu', '1131091080756801542', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('468', 'sys_menu', '1131091080756801542', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('469', 'sys_menu', '1131091080756801542', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('470', 'sys_menu', '1131091080756801543', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('471', 'sys_menu', '1131091080756801543', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('472', 'sys_menu', '1131091080756801543', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('475', 'sys_menu', '1131418921042128898', 'name', '权限规则', 'en-US');
INSERT INTO `sys_language` VALUES ('476', 'sys_menu', '1131418921042128898', 'name', '权限规则', 'zh-CN');
INSERT INTO `sys_language` VALUES ('477', 'sys_menu', '1131418921042128898', 'name', '权限规则', 'zh-TW');
INSERT INTO `sys_language` VALUES ('478', 'sys_menu', '1131418921042128899', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('479', 'sys_menu', '1131418921042128899', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('480', 'sys_menu', '1131418921042128899', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('481', 'sys_menu', '1131418921042128900', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('482', 'sys_menu', '1131418921042128900', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('483', 'sys_menu', '1131418921042128900', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('484', 'sys_menu', '1131418921042128901', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('485', 'sys_menu', '1131418921042128901', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('486', 'sys_menu', '1131418921042128901', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('487', 'sys_menu', '1131418921042128902', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('488', 'sys_menu', '1131418921042128902', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('489', 'sys_menu', '1131418921042128902', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('490', 'sys_menu', '1131418921042128903', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('491', 'sys_menu', '1131418921042128903', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('492', 'sys_menu', '1131418921042128903', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('493', 'sys_menu', '1133545892338630657', 'name', '待办事项', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1133614351249334273', 'sys_menu', '1122402524739825666', 'name', 'Sys Management', 'en-US');
INSERT INTO `sys_language` VALUES ('1138633020706705409', 'sys_menu', '1138633020304052225', 'name', '缓存监控', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1141225297814929415', 'sys_menu', '1141225297814929409', 'name', 'Annex Directory Settings', 'en-US');
INSERT INTO `sys_language` VALUES ('1141225297814929416', 'sys_menu', '1141225297814929409', 'name', '附件目录', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1141225297814929417', 'sys_menu', '1141225297814929409', 'name', '附件目錄設定', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1141225297814929418', 'sys_menu', '1141225297814929410', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1141225297814929419', 'sys_menu', '1141225297814929410', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1141225297814929420', 'sys_menu', '1141225297814929410', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1141225297814929421', 'sys_menu', '1141225297814929411', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1141225297814929422', 'sys_menu', '1141225297814929411', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1141225297814929423', 'sys_menu', '1141225297814929411', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1141225297814929424', 'sys_menu', '1141225297814929412', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1141225297814929425', 'sys_menu', '1141225297814929412', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1141225297814929426', 'sys_menu', '1141225297814929412', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1141225297814929427', 'sys_menu', '1141225297814929413', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1141225297814929428', 'sys_menu', '1141225297814929413', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1141225297814929429', 'sys_menu', '1141225297814929413', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1141225297814929430', 'sys_menu', '1141225297814929414', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1141225297814929431', 'sys_menu', '1141225297814929414', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1141225297814929432', 'sys_menu', '1141225297814929414', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1141225361773871112', 'sys_menu', '1141225361773871106', 'name', 'Annex Management', 'en-US');
INSERT INTO `sys_language` VALUES ('1141225361773871113', 'sys_menu', '1141225361773871106', 'name', '附件管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1141225361773871114', 'sys_menu', '1141225361773871106', 'name', '附件管理', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1141225361773871115', 'sys_menu', '1141225361773871107', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1141225361773871116', 'sys_menu', '1141225361773871107', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1141225361773871117', 'sys_menu', '1141225361773871107', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1141225361773871118', 'sys_menu', '1141225361773871108', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1141225361773871119', 'sys_menu', '1141225361773871108', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1141225361773871120', 'sys_menu', '1141225361773871108', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1141225361773871121', 'sys_menu', '1141225361773871109', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1141225361773871122', 'sys_menu', '1141225361773871109', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1141225361773871123', 'sys_menu', '1141225361773871109', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1141225361773871124', 'sys_menu', '1141225361773871110', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1141225361773871125', 'sys_menu', '1141225361773871110', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1141225361773871126', 'sys_menu', '1141225361773871110', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1141225361773871127', 'sys_menu', '1141225361773871111', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1141225361773871128', 'sys_menu', '1141225361773871111', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1141225361773871129', 'sys_menu', '1141225361773871111', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1143351404273438722', 'sys_menu', '1143351403967254529', 'name', '系统升级同步', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1145647440102088705', 'sys_menu', '1145647440064339970', 'name', '文件管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1145862777061949441', 'sys_menu', '1145647440064339970', 'name', 'File Management', 'en-US');
INSERT INTO `sys_language` VALUES ('1145863093320859650', 'sys_menu', '1118389915403546626', 'name', 'Development Tools', 'en-US');
INSERT INTO `sys_language` VALUES ('1145864425851240450', 'sys_menu', '1143351403967254529', 'name', 'System Upgrade-Sync', 'en-US');
INSERT INTO `sys_language` VALUES ('1145864662976217089', 'sys_menu', '1138633020304052225', 'name', 'Cache Monitoring', 'en-US');
INSERT INTO `sys_language` VALUES ('1145864805511249921', 'sys_menu', '1133545892338630657', 'name', 'Handle List', 'en-US');
INSERT INTO `sys_language` VALUES ('1145867004370927617', 'sys_menu', '1110444244569616386', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1145867075908976642', 'sys_menu', '1110462041977982978', 'name', 'Force Quit', 'en-US');
INSERT INTO `sys_language` VALUES ('1145868764632236034', 'sys_menu', '1133545892338630657', 'name', '辦理事項', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1145868923852210177', 'sys_menu', '1145647440064339970', 'name', '文件管理', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1145869088130514946', 'sys_menu', '1118389915403546626', 'name', '開發工具', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1145869359447457793', 'sys_menu', '1143351403967254529', 'name', '系統升級同步', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1145869485884751874', 'sys_menu', '1138633020304052225', 'name', '緩存監控', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1148504953823277058', 'sys_menu', '1148504953559035905', 'name', '发起申请', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1149189845793468418', 'sys_menu', '1149189845248208898', 'name', '处理待办', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1151664842711404552', 'sys_menu', '1151664842711404546', 'name', 'bpm_agent', 'en-US');
INSERT INTO `sys_language` VALUES ('1151664842711404553', 'sys_menu', '1151664842711404546', 'name', '代办人设置', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1151664842711404554', 'sys_menu', '1151664842711404546', 'name', '代理人设置', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1151664842711404555', 'sys_menu', '1151664842711404547', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1151664842711404556', 'sys_menu', '1151664842711404547', 'name', '查看流程', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1151664842711404557', 'sys_menu', '1151664842711404547', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1151664842711404558', 'sys_menu', '1151664842711404548', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1151664842711404559', 'sys_menu', '1151664842711404548', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1151664842711404560', 'sys_menu', '1151664842711404548', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1151664842711404561', 'sys_menu', '1151664842711404549', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1151664842711404562', 'sys_menu', '1151664842711404549', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1151664842711404563', 'sys_menu', '1151664842711404549', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1151664842711404564', 'sys_menu', '1151664842711404550', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1151664842711404565', 'sys_menu', '1151664842711404550', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1151664842711404566', 'sys_menu', '1151664842711404550', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1151664842711404567', 'sys_menu', '1151664842711404551', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1151664842711404568', 'sys_menu', '1151664842711404551', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1151664842711404569', 'sys_menu', '1151664842711404551', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1153538606992343041', 'sys_menu', '1153538606602272770', 'name', '我的委托', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1153541839722790913', 'sys_menu', '1153541839211085825', 'name', '委托代办', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1156089334285905922', 'sys_menu', '1156089333816143874', 'name', '选人', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1156094840228474882', 'sys_menu', '1156094839679021058', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1157558093754568706', 'sys_menu', '1148504953559035905', 'name', 'Start Apply', 'en-US');
INSERT INTO `sys_language` VALUES ('1157558843314442241', 'sys_menu', '1148504953559035905', 'name', '發起申請', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1157561193152286721', 'sys_menu', '1149189845248208898', 'name', '處理待辦', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1157561321611235330', 'sys_menu', '1149189845248208898', 'name', 'deal to-do', 'en-US');
INSERT INTO `sys_language` VALUES ('1181444397625966599', 'sys_menu', '1181444397625966593', 'name', 'app扩展表', 'en-US');
INSERT INTO `sys_language` VALUES ('1181444397625966600', 'sys_menu', '1181444397625966593', 'name', '应用管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1181444397625966601', 'sys_menu', '1181444397625966593', 'name', 'app扩展表', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1181444397625966602', 'sys_menu', '1181444397625966594', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1181444397625966603', 'sys_menu', '1181444397625966594', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1181444397625966604', 'sys_menu', '1181444397625966594', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1181444397625966605', 'sys_menu', '1181444397625966595', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1181444397625966606', 'sys_menu', '1181444397625966595', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1181444397625966607', 'sys_menu', '1181444397625966595', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1181444397625966608', 'sys_menu', '1181444397625966596', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1181444397625966609', 'sys_menu', '1181444397625966596', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1181444397625966610', 'sys_menu', '1181444397625966596', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1181444397625966611', 'sys_menu', '1181444397625966597', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1181444397625966612', 'sys_menu', '1181444397625966597', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1181444397625966613', 'sys_menu', '1181444397625966597', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1181444397625966614', 'sys_menu', '1181444397625966598', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1181444397625966615', 'sys_menu', '1181444397625966598', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1181444397625966616', 'sys_menu', '1181444397625966598', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1181833490656280577', 'sys_menu', '1181833490362679298', 'name', '消息通道', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1181842182487351298', 'sys_menu', '1181842182009200641', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1181842292873043970', 'sys_menu', '1181842292403281921', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1181842366189477890', 'sys_menu', '1181842365681967106', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1181842449865842690', 'sys_menu', '1181842449379303425', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1182576545055371265', 'sys_menu', '1182576544459780097', 'name', '微信授权', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1182835107862069250', 'sys_menu', '1182835107434250242', 'name', '公众号管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1182908207394156551', 'sys_menu', '1182908207394156545', 'name', '短信模板', 'en-US');
INSERT INTO `sys_language` VALUES ('1182908207394156552', 'sys_menu', '1182908207394156545', 'name', '短信模板', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1182908207394156553', 'sys_menu', '1182908207394156545', 'name', '短信模板', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1182908207394156554', 'sys_menu', '1182908207394156546', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1182908207394156555', 'sys_menu', '1182908207394156546', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1182908207394156556', 'sys_menu', '1182908207394156546', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1182908207394156557', 'sys_menu', '1182908207394156547', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1182908207394156558', 'sys_menu', '1182908207394156547', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1182908207394156559', 'sys_menu', '1182908207394156547', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1182908207394156560', 'sys_menu', '1182908207394156548', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1182908207394156561', 'sys_menu', '1182908207394156548', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1182908207394156562', 'sys_menu', '1182908207394156548', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1182908207394156563', 'sys_menu', '1182908207394156549', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1182908207394156564', 'sys_menu', '1182908207394156549', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1182908207394156565', 'sys_menu', '1182908207394156549', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1182908207394156566', 'sys_menu', '1182908207394156550', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1182908207394156567', 'sys_menu', '1182908207394156550', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1182908207394156568', 'sys_menu', '1182908207394156550', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1182968844237369351', 'sys_menu', '1182968844237369345', 'name', '签名配置', 'en-US');
INSERT INTO `sys_language` VALUES ('1182968844237369352', 'sys_menu', '1182968844237369345', 'name', '签名配置', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1182968844237369353', 'sys_menu', '1182968844237369345', 'name', '签名配置', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1182968844237369354', 'sys_menu', '1182968844237369346', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1182968844237369355', 'sys_menu', '1182968844237369346', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1182968844237369356', 'sys_menu', '1182968844237369346', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1182968844237369357', 'sys_menu', '1182968844237369347', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1182968844237369358', 'sys_menu', '1182968844237369347', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1182968844237369359', 'sys_menu', '1182968844237369347', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1182968844237369360', 'sys_menu', '1182968844237369348', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1182968844237369361', 'sys_menu', '1182968844237369348', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1182968844237369362', 'sys_menu', '1182968844237369348', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1182968844237369363', 'sys_menu', '1182968844237369349', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1182968844237369364', 'sys_menu', '1182968844237369349', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1182968844237369365', 'sys_menu', '1182968844237369349', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1182968844237369366', 'sys_menu', '1182968844237369350', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1182968844237369367', 'sys_menu', '1182968844237369350', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1182968844237369368', 'sys_menu', '1182968844237369350', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1183621949670207489', 'sys_menu', '1183621948898455554', 'name', '模拟发送', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1183651546183725064', 'sys_menu', '1183651546183725058', 'name', 'Process Management', 'en-US');
INSERT INTO `sys_language` VALUES ('1183651546183725066', 'sys_menu', '1183651546183725058', 'name', '流程管理', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1183651546183725897', 'sys_menu', '1183651546183725058', 'name', '流程管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1183652831612071943', 'sys_menu', '1183652831612071937', 'name', 'Node User Configuration', 'en-US');
INSERT INTO `sys_language` VALUES ('1183652831612071944', 'sys_menu', '1183652831612071937', 'name', '节点用户配置', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1183652831612071945', 'sys_menu', '1183652831612071937', 'name', '節點用戶配寘', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1183652831612071946', 'sys_menu', '1183652831612071938', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1183652831612071947', 'sys_menu', '1183652831612071938', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1183652831612071948', 'sys_menu', '1183652831612071938', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1183652831612071949', 'sys_menu', '1183652831612071939', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1183652831612071950', 'sys_menu', '1183652831612071939', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1183652831612071951', 'sys_menu', '1183652831612071939', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1183652831612071952', 'sys_menu', '1183652831612071940', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1183652831612071953', 'sys_menu', '1183652831612071940', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1183652831612071954', 'sys_menu', '1183652831612071940', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1183652831612071955', 'sys_menu', '1183652831612071941', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1183652831612071956', 'sys_menu', '1183652831612071941', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1183652831612071957', 'sys_menu', '1183652831612071941', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1183652831612071958', 'sys_menu', '1183652831612071942', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1183652831612071959', 'sys_menu', '1183652831612071942', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1183652831612071960', 'sys_menu', '1183652831612071942', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1183680951262081031', 'sys_menu', '1183680951262081025', 'name', '邮件模板', 'en-US');
INSERT INTO `sys_language` VALUES ('1183680951262081032', 'sys_menu', '1183680951262081025', 'name', '邮件模板', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1183680951262081033', 'sys_menu', '1183680951262081025', 'name', '邮件模板', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1183680951262081034', 'sys_menu', '1183680951262081026', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1183680951262081035', 'sys_menu', '1183680951262081026', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1183680951262081036', 'sys_menu', '1183680951262081026', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1183680951262081037', 'sys_menu', '1183680951262081027', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1183680951262081038', 'sys_menu', '1183680951262081027', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1183680951262081039', 'sys_menu', '1183680951262081027', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1183680951262081040', 'sys_menu', '1183680951262081028', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1183680951262081041', 'sys_menu', '1183680951262081028', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1183680951262081042', 'sys_menu', '1183680951262081028', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1183680951262081043', 'sys_menu', '1183680951262081029', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1183680951262081044', 'sys_menu', '1183680951262081029', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1183680951262081045', 'sys_menu', '1183680951262081029', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1183680951262081046', 'sys_menu', '1183680951262081030', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1183680951262081047', 'sys_menu', '1183680951262081030', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1183680951262081048', 'sys_menu', '1183680951262081030', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184009585471705089', 'sys_menu', '1184009584788033537', 'name', '模拟发送', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184041743643799560', 'sys_menu', '1184041743643799554', 'name', '平台微信模板', 'en-US');
INSERT INTO `sys_language` VALUES ('1184041743643799561', 'sys_menu', '1184041743643799554', 'name', '微信平台模板', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184041743643799562', 'sys_menu', '1184041743643799554', 'name', '平台微信模板', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184041743643799563', 'sys_menu', '1184041743643799555', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1184041743643799564', 'sys_menu', '1184041743643799555', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184041743643799565', 'sys_menu', '1184041743643799555', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184041743643799566', 'sys_menu', '1184041743643799556', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1184041743643799567', 'sys_menu', '1184041743643799556', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184041743643799568', 'sys_menu', '1184041743643799556', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184041743643799569', 'sys_menu', '1184041743643799557', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1184041743643799570', 'sys_menu', '1184041743643799557', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184041743643799571', 'sys_menu', '1184041743643799557', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184041743643799572', 'sys_menu', '1184041743643799558', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1184041743643799573', 'sys_menu', '1184041743643799558', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184041743643799574', 'sys_menu', '1184041743643799558', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184041743643799575', 'sys_menu', '1184041743643799559', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1184041743643799576', 'sys_menu', '1184041743643799559', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184041743643799577', 'sys_menu', '1184041743643799559', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184277007788109831', 'sys_menu', '1184277007788109825', 'name', '微信模板', 'en-US');
INSERT INTO `sys_language` VALUES ('1184277007788109832', 'sys_menu', '1184277007788109825', 'name', '微信官方模板', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184277007788109833', 'sys_menu', '1184277007788109825', 'name', '微信模板', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184277007788109834', 'sys_menu', '1184277007788109826', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1184277007788109835', 'sys_menu', '1184277007788109826', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184277007788109836', 'sys_menu', '1184277007788109826', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184277007788109837', 'sys_menu', '1184277007788109827', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1184277007788109838', 'sys_menu', '1184277007788109827', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184277007792304129', 'sys_menu', '1184277007788109827', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184277007792304130', 'sys_menu', '1184277007788109828', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1184277007792304131', 'sys_menu', '1184277007788109828', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184277007792304132', 'sys_menu', '1184277007788109828', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184277007792304133', 'sys_menu', '1184277007788109829', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1184277007792304134', 'sys_menu', '1184277007788109829', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184277007792304135', 'sys_menu', '1184277007788109829', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184277007792304136', 'sys_menu', '1184277007788109830', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1184277007792304137', 'sys_menu', '1184277007788109830', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184277007792304138', 'sys_menu', '1184277007788109830', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184296341495312392', 'sys_menu', '1184296341495312386', 'name', '短信记录', 'en-US');
INSERT INTO `sys_language` VALUES ('1184296341495312393', 'sys_menu', '1184296341495312386', 'name', '短信记录', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184296341495312394', 'sys_menu', '1184296341495312386', 'name', '短信记录', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184296341495312395', 'sys_menu', '1184296341495312387', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1184296341495312396', 'sys_menu', '1184296341495312387', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184296341495312397', 'sys_menu', '1184296341495312387', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184296341495312398', 'sys_menu', '1184296341495312388', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1184296341495312399', 'sys_menu', '1184296341495312388', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184296341495312400', 'sys_menu', '1184296341495312388', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184296341495312401', 'sys_menu', '1184296341495312389', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1184296341495312402', 'sys_menu', '1184296341495312389', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184296341495312403', 'sys_menu', '1184296341495312389', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184296341495312404', 'sys_menu', '1184296341495312390', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1184296341495312405', 'sys_menu', '1184296341495312390', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184296341495312406', 'sys_menu', '1184296341495312390', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184296341495312407', 'sys_menu', '1184296341495312391', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1184296341495312408', 'sys_menu', '1184296341495312391', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184296341495312409', 'sys_menu', '1184296341495312391', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184345941044326408', 'sys_menu', '1184345941044326402', 'name', '邮件记录', 'en-US');
INSERT INTO `sys_language` VALUES ('1184345941044326409', 'sys_menu', '1184345941044326402', 'name', '邮件记录', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184345941044326410', 'sys_menu', '1184345941044326402', 'name', '邮件记录', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184345941044326411', 'sys_menu', '1184345941044326403', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1184345941044326412', 'sys_menu', '1184345941044326403', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184345941044326413', 'sys_menu', '1184345941044326403', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184345941044326414', 'sys_menu', '1184345941044326404', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1184345941044326415', 'sys_menu', '1184345941044326404', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184345941044326416', 'sys_menu', '1184345941044326404', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184345941044326417', 'sys_menu', '1184345941044326405', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1184345941044326418', 'sys_menu', '1184345941044326405', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184345941044326419', 'sys_menu', '1184345941044326405', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184345941044326420', 'sys_menu', '1184345941044326406', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1184345941044326421', 'sys_menu', '1184345941044326406', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184345941044326422', 'sys_menu', '1184345941044326406', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184345941044326423', 'sys_menu', '1184345941044326407', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1184345941044326424', 'sys_menu', '1184345941044326407', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184345941044326425', 'sys_menu', '1184345941044326407', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1184399677130514434', 'sys_menu', '1184399676224544769', 'name', '同步官方模板', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184701240743849986', 'sys_menu', '1184657341549604865', 'name', '单表代码生成', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1184701395530444802', 'sys_menu', '1184657341549604865', 'name', '单表代码生成', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1185054379157393409', 'sys_menu', '1185054378767323138', 'name', '模拟发送', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1186875642667433992', 'sys_menu', '1186875642667433986', 'name', '生成模板列表', 'en-US');
INSERT INTO `sys_language` VALUES ('1186875642667433993', 'sys_menu', '1186875642667433986', 'name', '模板文件列表', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1186875642667433994', 'sys_menu', '1186875642667433986', 'name', '生成模板列表', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1186875642667433995', 'sys_menu', '1186875642667433987', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1186875642667433996', 'sys_menu', '1186875642667433987', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1186875642667433997', 'sys_menu', '1186875642667433987', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1186875642667433998', 'sys_menu', '1186875642667433988', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1186875642667433999', 'sys_menu', '1186875642667433988', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1186875642667434000', 'sys_menu', '1186875642667433988', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1186875642667434001', 'sys_menu', '1186875642667433989', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1186875642667434002', 'sys_menu', '1186875642667433989', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1186875642667434003', 'sys_menu', '1186875642667433989', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1186875642667434004', 'sys_menu', '1186875642667433990', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1186875642667434005', 'sys_menu', '1186875642667433990', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1186875642667434006', 'sys_menu', '1186875642667433990', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1186875642667434007', 'sys_menu', '1186875642667433991', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1186875642667434008', 'sys_menu', '1186875642667433991', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1186875642667434009', 'sys_menu', '1186875642667433991', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1186917725864304647', 'sys_menu', '1186917725864304641', 'name', '模板分类关系维护', 'en-US');
INSERT INTO `sys_language` VALUES ('1186917725864304648', 'sys_menu', '1186917725864304641', 'name', '模板分类关系维护', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1186917725864304649', 'sys_menu', '1186917725864304641', 'name', '模板分类关系维护', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1186917725864304650', 'sys_menu', '1186917725864304642', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1186917725864304651', 'sys_menu', '1186917725864304642', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1186917725864304652', 'sys_menu', '1186917725864304642', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1186917725864304653', 'sys_menu', '1186917725864304643', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1186917725864304654', 'sys_menu', '1186917725864304643', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1186917725864304655', 'sys_menu', '1186917725864304643', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1186917725864304656', 'sys_menu', '1186917725864304644', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1186917725864304657', 'sys_menu', '1186917725864304644', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1186917725864304658', 'sys_menu', '1186917725864304644', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1186917725864304659', 'sys_menu', '1186917725864304645', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1186917725864304660', 'sys_menu', '1186917725864304645', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1186917725864304661', 'sys_menu', '1186917725864304645', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1186917725864304662', 'sys_menu', '1186917725864304646', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1186917725864304663', 'sys_menu', '1186917725864304646', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1186917725864304664', 'sys_menu', '1186917725864304646', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1194897214990675975', 'sys_menu', '1194897214990675969', 'name', '微信发送记录', 'en-US');
INSERT INTO `sys_language` VALUES ('1194897214990675976', 'sys_menu', '1194897214990675969', 'name', '微信记录', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1194897214990675977', 'sys_menu', '1194897214990675969', 'name', '微信发送记录', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1194897214990675978', 'sys_menu', '1194897214990675970', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1194897214990675979', 'sys_menu', '1194897214990675970', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1194897214990675980', 'sys_menu', '1194897214990675970', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1194897214990675981', 'sys_menu', '1194897214990675971', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1194897214990675982', 'sys_menu', '1194897214990675971', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1194897214990675983', 'sys_menu', '1194897214990675971', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1194897214990675984', 'sys_menu', '1194897214990675972', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1194897214990675985', 'sys_menu', '1194897214990675972', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1194897214990675986', 'sys_menu', '1194897214990675972', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1194897214990675987', 'sys_menu', '1194897214990675973', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1194897214990675988', 'sys_menu', '1194897214990675973', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1194897214990675989', 'sys_menu', '1194897214990675973', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1194897214990675990', 'sys_menu', '1194897214990675974', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1194897214990675991', 'sys_menu', '1194897214990675974', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1194897214990675992', 'sys_menu', '1194897214990675974', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1195167321625104386', 'sys_menu', '1195167321528635393', 'name', '配置管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1195167841681051650', 'sys_menu', '1195167841647497218', 'name', '模板管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1195168366048743426', 'sys_menu', '1195168366010994690', 'name', '消息记录', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1196684563823132673', 'sys_menu', '1196684563789578241', 'name', '工作台', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1196684792517558274', 'sys_menu', '1196684792492392450', 'name', '工作流', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1196684868124082178', 'sys_menu', '1196684868094722049', 'name', '财务', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1196685182331977729', 'sys_menu', '1196685182294228993', 'name', '发起申请', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1196685251236003842', 'sys_menu', '1196685251206643714', 'name', '我的申请', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1196685742447722498', 'sys_menu', '1196685742418362369', 'name', '消息', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1196685882952712193', 'sys_menu', '1196685882919157762', 'name', '首页', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1196686242429730818', 'sys_menu', '1196686242396176386', 'name', '我的', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1196745609975881730', 'sys_menu', '1196745609938132993', 'name', 'demo', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1196745702200238082', 'sys_menu', '1196745702166683650', 'name', '费用申请', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1197037994169556994', 'sys_menu', '1197037994081476609', 'name', '出差报销', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1197100548812136449', 'sys_menu', '1197100548677918721', 'name', '请假申请', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1197100697651208194', 'sys_menu', '1197100697621848065', 'name', '出差申请', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1197100807235788801', 'sys_menu', '1197100807206428673', 'name', '用印申请', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1197100986546479105', 'sys_menu', '1197100986517118977', 'name', '费用报销', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1197101100455387137', 'sys_menu', '1197101100421832706', 'name', '许可证申请', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1197101280542023681', 'sys_menu', '1197101280508469249', 'name', '婚假申请', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1197101377057153025', 'sys_menu', '1197101377027792897', 'name', '产假申请', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1197101640451055618', 'sys_menu', '1197101640451055617', 'name', '文章发布', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1197101801856262146', 'sys_menu', '1197101801826902018', 'name', '车辆申请', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199932946268426247', 'sys_menu', '1199932946268426241', 'name', '钉钉发送记录', 'en-US');
INSERT INTO `sys_language` VALUES ('1199932946268426248', 'sys_menu', '1199932946268426241', 'name', '钉钉记录', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199932946268426249', 'sys_menu', '1199932946268426241', 'name', '钉钉发送记录', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199932946268426250', 'sys_menu', '1199932946268426242', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1199932946268426251', 'sys_menu', '1199932946268426242', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199932946268426252', 'sys_menu', '1199932946268426242', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199932946268426253', 'sys_menu', '1199932946268426243', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1199932946268426254', 'sys_menu', '1199932946268426243', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199932946268426255', 'sys_menu', '1199932946268426243', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199932946268426256', 'sys_menu', '1199932946268426244', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1199932946268426257', 'sys_menu', '1199932946268426244', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199932946268426258', 'sys_menu', '1199932946268426244', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199932946268426259', 'sys_menu', '1199932946268426245', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1199932946268426260', 'sys_menu', '1199932946268426245', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199932946268426261', 'sys_menu', '1199932946268426245', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199932946268426262', 'sys_menu', '1199932946268426246', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1199932946268426263', 'sys_menu', '1199932946268426246', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199932946268426264', 'sys_menu', '1199932946268426246', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199935100119027720', 'sys_menu', '1199935100119027714', 'name', '平台钉钉模板', 'en-US');
INSERT INTO `sys_language` VALUES ('1199935100119027721', 'sys_menu', '1199935100119027714', 'name', '钉钉平台模板', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199935100119027722', 'sys_menu', '1199935100119027714', 'name', '平台钉钉模板', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199935100119027723', 'sys_menu', '1199935100119027715', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1199935100119027724', 'sys_menu', '1199935100119027715', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199935100119027725', 'sys_menu', '1199935100119027715', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199935100119027726', 'sys_menu', '1199935100119027716', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1199935100119027727', 'sys_menu', '1199935100119027716', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199935100119027728', 'sys_menu', '1199935100119027716', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199935100119027729', 'sys_menu', '1199935100119027717', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1199935100119027730', 'sys_menu', '1199935100119027717', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199935100119027731', 'sys_menu', '1199935100119027717', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199935100119027732', 'sys_menu', '1199935100119027718', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1199935100119027733', 'sys_menu', '1199935100119027718', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199935100119027734', 'sys_menu', '1199935100119027718', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199935100119027735', 'sys_menu', '1199935100119027719', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1199935100119027736', 'sys_menu', '1199935100119027719', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199935100119027737', 'sys_menu', '1199935100119027719', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199937010075045896', 'sys_menu', '1199937010075045890', 'name', '钉钉模板', 'en-US');
INSERT INTO `sys_language` VALUES ('1199937010075045897', 'sys_menu', '1199937010075045890', 'name', '钉钉官方模板', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199937010075045898', 'sys_menu', '1199937010075045890', 'name', '钉钉模板', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199937010075045899', 'sys_menu', '1199937010075045891', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1199937010075045900', 'sys_menu', '1199937010075045891', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199937010075045901', 'sys_menu', '1199937010075045891', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199937010075045902', 'sys_menu', '1199937010075045892', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1199937010075045903', 'sys_menu', '1199937010075045892', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199937010075045904', 'sys_menu', '1199937010075045892', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199937010075045905', 'sys_menu', '1199937010075045893', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1199937010075045906', 'sys_menu', '1199937010075045893', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199937010075045907', 'sys_menu', '1199937010075045893', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199937010075045908', 'sys_menu', '1199937010075045894', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1199937010075045909', 'sys_menu', '1199937010075045894', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199937010075045910', 'sys_menu', '1199937010075045894', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1199937010075045911', 'sys_menu', '1199937010075045895', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1199937010075045912', 'sys_menu', '1199937010075045895', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1199937010075045913', 'sys_menu', '1199937010075045895', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202051927511044097', 'sys_menu', '1202051927406186497', 'name', '钉钉号管理', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1202054520295559169', 'sys_menu', '1202054520257810434', 'name', '钉钉授权', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1202059033014341633', 'sys_menu', '1202059032984981505', 'name', '节点配置', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1202105880630169602', 'sys_menu', '1202105880600809473', 'name', '节点表单配置', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1202106628814311425', 'sys_menu', '1202106628789145601', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1202106866203529218', 'sys_menu', '1202106866174169089', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1202106929445244929', 'sys_menu', '1202106929415884801', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1202107001637605377', 'sys_menu', '1202107001608245250', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1202107097552949249', 'sys_menu', '1202107097523589122', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1202511950502637575', 'sys_menu', '1202511950502637569', 'name', '代码片段列表', 'en-US');
INSERT INTO `sys_language` VALUES ('1202511950502637576', 'sys_menu', '1202511950502637569', 'name', '代码片段列表', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1202511950502637577', 'sys_menu', '1202511950502637569', 'name', '代码片段列表', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202511950502637578', 'sys_menu', '1202511950502637570', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1202511950502637579', 'sys_menu', '1202511950502637570', 'name', '查看', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1202511950502637580', 'sys_menu', '1202511950502637570', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202511950502637581', 'sys_menu', '1202511950502637571', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1202511950502637582', 'sys_menu', '1202511950502637571', 'name', '新增', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1202511950502637583', 'sys_menu', '1202511950502637571', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202511950502637584', 'sys_menu', '1202511950502637572', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1202511950502637585', 'sys_menu', '1202511950502637572', 'name', '修改', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1202511950502637586', 'sys_menu', '1202511950502637572', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202511950502637587', 'sys_menu', '1202511950502637573', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1202511950502637588', 'sys_menu', '1202511950502637573', 'name', '删除', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1202511950502637589', 'sys_menu', '1202511950502637573', 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202511950502637590', 'sys_menu', '1202511950502637574', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1202511950502637591', 'sys_menu', '1202511950502637574', 'name', '导出', 'zh-CN');
INSERT INTO `sys_language` VALUES ('1202511950502637592', 'sys_menu', '1202511950502637574', 'name', '導出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202517623898583042', 'sys_menu', '1202059032984981505', 'name', '節點配寘', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202517698875961346', 'sys_menu', '1202059032984981505', 'name', 'Node Configuration', 'en-US');
INSERT INTO `sys_language` VALUES ('1202518734609002498', 'sys_menu', '1202105880600809473', 'name', '節點表單配寘', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202518831266738178', 'sys_menu', '1202105880600809473', 'name', 'Node Form Configuration', 'en-US');
INSERT INTO `sys_language` VALUES ('1202519169495412737', 'sys_menu', '1202106628789145601', 'name', 'View', 'en-US');
INSERT INTO `sys_language` VALUES ('1202519249891831809', 'sys_menu', '1202106628789145601', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202519341373796353', 'sys_menu', '1202106866174169089', 'name', 'Add', 'en-US');
INSERT INTO `sys_language` VALUES ('1202519397946568705', 'sys_menu', '1202106866174169089', 'name', '新增', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202519542494867457', 'sys_menu', '1202106929415884801', 'name', 'Edit', 'en-US');
INSERT INTO `sys_language` VALUES ('1202519622551547906', 'sys_menu', '1202106929415884801', 'name', '修改', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202519709239422978', 'sys_menu', '1202107001608245250', 'name', 'Delete', 'en-US');
INSERT INTO `sys_language` VALUES ('1202519763039760386', 'sys_menu', '1202107001608245250', 'name', '删除', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202519844040159234', 'sys_menu', '1202107097523589122', 'name', 'Export', 'en-US');
INSERT INTO `sys_language` VALUES ('1202519906757586946', 'sys_menu', '1202107097523589122', 'name', '匯出', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202520116846080001', 'sys_menu', '1153538606602272770', 'name', '我的委託', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202520196072288258', 'sys_menu', '1153538606602272770', 'name', 'My commission', 'en-US');
INSERT INTO `sys_language` VALUES ('1202520532828762114', 'sys_menu', '1153541839211085825', 'name', '委託代辦', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202520607789363201', 'sys_menu', '1153541839211085825', 'name', 'Commission Agent', 'en-US');
INSERT INTO `sys_language` VALUES ('1202520919623282690', 'sys_menu', '1156089333816143874', 'name', 'pick', 'en-US');
INSERT INTO `sys_language` VALUES ('1202520969292230657', 'sys_menu', '1156089333816143874', 'name', '選人', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202521074938359809', 'sys_menu', '1156094839679021058', 'name', '查看', 'zh-TW');
INSERT INTO `sys_language` VALUES ('1202521106861207554', 'sys_menu', '1156094839679021058', 'name', 'View', 'en-US');

INSERT INTO `sys_menu` VALUES ('1067246875800000002', '1122402524739825666', null, null, '3', 'icon-safetycertificate', null, null, null, '0', '1067246875800000001', '2019-02-19 08:58:01', 'admin', '2019-04-28 15:30:07', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000003', '1067246875800000055', null, 'sys:user:save,sys:dept:list,sys:role:list', '1', null, null, null, null, '1', '1067246875800000001', '2019-02-19 08:58:01', '1067246875800000001', '2019-02-19 08:58:01', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000004', '1067246875800000055', null, 'sys:user:update,sys:dept:list,sys:role:list', '1', null, null, null, null, '2', '1067246875800000001', '2019-02-19 08:58:01', '1067246875800000001', '2019-02-19 08:58:01', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000005', '1067246875800000055', null, 'sys:user:delete', '1', null, null, null, null, '3', '1067246875800000001', '2019-02-19 08:58:01', '1067246875800000001', '2019-02-19 08:58:01', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000006', '1067246875800000055', null, 'sys:user:export', '1', null, null, null, null, '4', '1067246875800000001', '2019-02-19 08:58:01', '1067246875800000001', '2019-02-19 08:58:01', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000007', '1067246875800000002', 'sys/role', null, '0', 'icon-team', null, null, null, '2', '1067246875800000001', '2019-02-19 08:58:01', '1067246875800000001', '2019-02-19 08:58:01', '1', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000008', '1067246875800000007', null, 'sys:role:page,sys:role:info,sys:sysruledata:list', '1', null, null, null, null, '0', '1067246875800000001', '2019-02-19 08:58:01', 'admin', '2019-03-20 22:07:11', '1', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000009', '1067246875800000007', null, 'sys:role:save,sys:menu:selectAuth,sys:dept:list', '1', null, null, null, null, '1', '1067246875800000001', '2019-02-19 08:58:01', 'admin', '2019-04-04 22:51:24', '1', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000010', '1067246875800000007', null, 'sys:role:update,sys:menu:selectAuth,sys:dept:list', '1', null, null, null, null, '2', '1067246875800000001', '2019-02-19 08:58:01', 'admin', '2019-04-04 22:51:50', '1', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000011', '1067246875800000007', null, 'sys:role:delete', '1', null, null, null, null, '3', '1067246875800000001', '2019-02-19 08:58:01', '1067246875800000001', '2019-02-19 08:58:01', '1', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000012', '1067246875800000002', 'sys/dept', null, '0', 'icon-apartment', null, null, null, '1', '1067246875800000001', '2019-02-19 08:58:01', '1067246875800000001', '2019-02-19 08:58:01', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000013', '0', '', '', '2', 'icon-cluster', null, null, null, '2', '1067246875800000001', '2019-02-19 08:58:01', 'admin', '2019-12-05 16:07:31', '', '', 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000014', '1067246875800000012', null, 'sys:dept:list,sys:dept:info', '1', null, null, null, null, '0', '1067246875800000001', '2019-02-19 08:58:01', '1067246875800000001', '2019-02-19 08:58:01', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000015', '1067246875800000012', null, 'sys:dept:save', '1', null, null, null, null, '1', '1067246875800000001', '2019-02-19 08:58:01', '1067246875800000001', '2019-02-19 08:58:01', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000016', '1067246875800000012', null, 'sys:dept:update', '1', null, null, null, null, '2', '1067246875800000001', '2019-02-19 08:58:01', '1067246875800000001', '2019-02-19 08:58:01', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000017', '1067246875800000012', null, 'sys:dept:delete', '1', null, null, null, null, '3', '1067246875800000001', '2019-02-19 08:58:01', '1067246875800000001', '2019-02-19 08:58:01', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000018', '1183651546183725058', 'flowable/process', 'sys:process:all', '0', 'icon-detail', null, null, null, '2', '1067246875800000001', '2019-02-19 08:58:01', 'admin', '2019-12-04 11:12:43', '', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000019', '1183651546183725058', 'flowable/model', 'sys:model:all', '0', 'icon-appstore-fill', null, null, null, '1', '1067246875800000001', '2019-02-19 08:58:01', 'admin', '2019-12-04 11:06:33', '', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000020', '1183651546183725058', 'flowable/running', 'sys:running:all', '0', 'icon-play-square', null, null, null, '3', '1067246875800000001', '2019-02-19 08:58:01', 'admin', '2019-12-04 11:12:53', '', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000024', '0', '', '', '2', 'icon-message', null, null, null, '3', '1067246875800000001', '2019-02-19 08:58:01', 'admin', '2019-12-05 16:07:39', '', '', 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000025', '1067246875800000035', 'sys/menu', null, '0', 'icon-unorderedlist', null, null, null, '0', '1067246875800000001', '2019-02-19 08:58:01', '1067246875800000001', '2019-02-19 08:58:01', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000026', '1067246875800000025', null, 'sys:menu:list,sys:menu:info', '1', null, null, null, null, '0', '1067246875800000001', '2019-02-19 08:58:01', '1067246875800000001', '2019-02-19 08:58:01', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000027', '1067246875800000025', null, 'sys:menu:save', '1', null, null, null, null, '1', '1067246875800000001', '2019-02-19 08:58:01', '1067246875800000001', '2019-02-19 08:58:01', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000028', '1067246875800000025', null, 'sys:menu:update', '1', null, null, null, null, '2', '1067246875800000001', '2019-02-19 08:58:02', '1067246875800000001', '2019-02-19 08:58:02', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000029', '1067246875800000025', null, 'sys:menu:delete', '1', null, null, null, null, '3', '1067246875800000001', '2019-02-19 08:58:02', '1067246875800000001', '2019-02-19 08:58:02', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000035', '1122402524739825666', null, null, '3', 'icon-setting', null, null, null, '1', '1067246875800000001', '2019-02-19 08:58:02', 'admin', '2019-04-28 15:30:31', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000040', '1067246875800000035', 'sys/params', '', '0', 'icon-fileprotect', null, null, null, '1', '1067246875800000001', '2019-02-19 08:58:02', '1067246875800000001', '2019-02-19 08:58:02', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000046', '1122402524739825666', null, null, '3', 'icon-container', null, null, null, '4', '1067246875800000001', '2019-02-19 08:58:02', 'admin', '2019-12-04 11:24:01', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000048', '1067246875800000046', 'sys/log-login', 'sys:log:login', '0', 'icon-filedone', null, null, null, '0', '1067246875800000001', '2019-02-19 08:58:02', '1067246875800000001', '2019-02-19 08:58:02', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000049', '1067246875800000046', 'sys/log-operation', 'sys:log:operation', '0', 'icon-solution', null, null, null, '1', '1067246875800000001', '2019-02-19 08:58:02', '1067246875800000001', '2019-02-19 08:58:02', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000050', '1067246875800000046', 'sys/log-error', 'sys:log:error', '0', 'icon-file-exception', null, null, null, '2', '1067246875800000001', '2019-02-19 08:58:02', '1067246875800000001', '2019-02-19 08:58:02', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000051', '1067246875800000053', '{{ window.SITE_CONFIG[\"apiURL\"] }}/druid/sql.html', null, '0', 'icon-database', null, null, null, '0', '1067246875800000001', '2019-02-19 08:58:02', '1067246875800000001', '2019-02-19 08:58:02', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000053', '1122402524739825666', null, null, '3', 'icon-desktop', null, null, null, '5', '1067246875800000001', '2019-02-19 08:58:02', 'admin', '2019-04-28 15:34:14', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000055', '1067246875800000002', 'sys/user', null, '0', 'icon-user', null, null, null, '0', '1067246875800000001', '2019-02-19 08:58:02', 'admin', '2019-08-07 16:00:26', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000056', '1067246875800000055', null, 'sys:user:page,sys:user:info', '1', null, null, null, null, '0', '1067246875800000001', '2019-02-19 08:58:02', '1067246875800000001', '2019-02-19 08:58:02', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000057', '1067246875800000040', null, 'sys:params:save', '1', null, null, null, null, '1', '1067246875800000001', '2019-02-19 08:58:02', '1067246875800000001', '2019-02-19 08:58:02', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000058', '1067246875800000040', null, 'sys:params:export', '1', null, null, null, null, '4', '1067246875800000001', '2019-02-19 08:58:02', '1067246875800000001', '2019-02-19 08:58:02', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000059', '1067246875800000040', '', 'sys:params:page,sys:params:info', '1', null, null, null, null, '0', '1067246875800000001', '2019-02-19 08:58:02', '1067246875800000001', '2019-02-19 08:58:02', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000060', '1067246875800000040', null, 'sys:params:update', '1', null, null, null, null, '2', '1067246875800000001', '2019-02-19 08:58:02', '1067246875800000001', '2019-02-19 08:58:02', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1067246875800000061', '1067246875800000040', '', 'sys:params:delete', '1', '', null, null, null, '3', '1067246875800000001', '2019-02-19 08:58:02', '1067246875800000001', '2019-02-19 08:58:02', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1104945274515656706', '1067246875800000035', 'sys/dicttype', null, '0', 'icon-calendar-check', null, null, null, '2', '1067246875800000001', '2019-03-11 11:25:48', 'admin', '2019-12-04 11:26:36', null, null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1104945274536628225', '1104945274515656706', null, 'sys:sysdicttype:page,sys:sysdicttype:info', '1', null, null, null, null, '0', '1067246875800000001', '2019-03-11 11:25:48', '1067246875800000001', '2019-03-11 11:25:48', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1104945274536628226', '1104945274515656706', null, 'sys:sysdicttype:save', '1', null, null, null, null, '1', '1067246875800000001', '2019-03-11 11:25:48', '1067246875800000001', '2019-03-11 11:25:48', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1104945274536628227', '1104945274515656706', null, 'sys:sysdicttype:update', '1', null, null, null, null, '2', '1067246875800000001', '2019-03-11 11:25:48', '1067246875800000001', '2019-03-11 11:25:48', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1104945274536628228', '1104945274515656706', null, 'sys:sysdicttype:delete', '1', null, null, null, null, '3', '1067246875800000001', '2019-03-11 11:25:48', '1067246875800000001', '2019-03-11 11:25:48', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1104945274536628229', '1104945274515656706', null, 'sys:sysdicttype:export', '1', null, null, null, null, '4', '1067246875800000001', '2019-03-11 11:25:48', '1067246875800000001', '2019-03-11 11:25:48', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1105673543542759425', '1067246875800000035', 'sys/config', '', '0', 'icon-pic-left', null, null, null, '3', 'admin', '2019-03-13 11:34:50', 'admin', '2019-12-04 11:25:53', null, null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1105674278967828481', '1105673543542759425', '', 'sys:sysconfig:info,sys:oss:all', '1', null, null, null, null, '0', 'admin', '2019-03-13 11:37:45', 'admin', '2019-07-01 19:43:58', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1105674511944638465', '1105673543542759425', '', 'sys:sysconfig:save', '1', null, null, null, null, '0', 'admin', '2019-03-13 11:38:41', 'admin', '2019-03-13 11:39:17', null, null, null, '1');
INSERT INTO `sys_menu` VALUES ('1108280267198582786', '1131418921042128898', null, 'sys:sysruledata:page,sys:sysruledata:info', '1', null, null, null, null, '5', '1067246875800000001', '2019-03-20 16:49:23', 'admin', '2019-12-06 09:30:29', '1', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1108280267198582787', '1131418921042128898', null, 'sys:sysruledata:save,sys:dicedata:list', '1', null, null, null, null, '6', '1067246875800000001', '2019-03-20 16:49:23', 'admin', '2019-12-06 09:30:58', '1', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1108280267198582788', '1131418921042128898', null, 'sys:sysruledata:update', '1', null, null, null, null, '7', '1067246875800000001', '2019-03-20 16:49:23', 'admin', '2019-12-06 09:31:28', '1', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1108280267198582789', '1131418921042128898', null, 'sys:sysruledata:delete', '1', null, null, null, null, '8', '1067246875800000001', '2019-03-20 16:49:23', 'admin', '2019-12-06 09:31:54', '1', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1108280267198582790', '1131418921042128898', null, 'sys:sysruledata:export', '1', null, null, null, null, '9', '1067246875800000001', '2019-03-20 16:49:23', 'admin', '2019-12-06 09:32:14', '1', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1108978773529309186', '1122402524739825666', '', '', '3', 'icon-securityscan', null, null, null, '3', 'admin', '2019-03-22 14:28:38', 'admin', '2019-12-05 16:08:46', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1108981176664174594', '1108978773529309186', 'sys/securityconfig', '', '0', 'icon-info-circle', null, null, null, '2', 'admin', '2019-03-22 14:38:11', 'admin', '2019-12-04 11:27:57', '1', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1109015863500156929', '1067246875800000055', '', 'sys:user:secAdmin', '1', '', null, null, null, '5', 'admin', '2019-03-22 16:56:01', 'admin', '2019-12-04 11:24:50', null, null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1110124168137531394', '1108981176664174594', '', 'sys:securityconfig:info', '1', null, null, null, null, '0', 'admin', '2019-03-25 18:20:01', 'admin', '2019-03-25 18:20:01', '1', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1110124490260078593', '1108981176664174594', '', 'sys:securityconfig:update', '1', null, null, null, null, '0', 'admin', '2019-03-25 18:21:18', 'admin', '2019-03-25 18:21:18', '1', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1110169486024237058', '1067246875800000053', 'http://47.105.158.68/uniedp-web/swagger-ui.html?_blank=1', '', '0', 'icon-earth', null, null, null, '0', 'admin', '2019-03-25 21:20:06', 'admin', '2019-12-04 15:30:00', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1110386559477112834', '1108978773529309186', 'sys/pwdAudit', '', '0', 'icon-idcard', null, null, null, '1', 'admin', '2019-03-26 11:42:40', 'admin', '2019-12-04 11:27:43', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1110444051728101378', '1067246875800000053', 'sys/online', '', '0', 'icon-project', null, null, null, '10', 'admin', '2019-03-26 15:31:08', 'admin', '2019-07-01 19:15:57', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1110444244569616386', '1110444051728101378', '', 'sys:online:page', '1', '', null, null, null, '0', 'admin', '2019-03-26 15:31:54', 'admin', '2019-07-02 09:29:18', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1110462041977982978', '1110444051728101378', '', 'sys:online:fquit', '1', '', null, null, null, '10', 'admin', '2019-03-26 16:42:37', 'admin', '2019-07-02 09:29:35', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1110756601934045185', '1067246875800000053', 'monitor/jvm', 'sys:monitor:jvm', '0', 'icon-eye', null, null, null, '0', 'admin', '2019-03-27 12:13:05', 'admin', '2019-12-06 10:00:32', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1110807586852630530', '1110386559477112834', '', 'sys:pwdAudit:page', '1', '', null, null, null, '0', 'admin', '2019-03-27 15:35:41', 'admin', '2019-03-27 15:35:41', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1110807738292170753', '1110386559477112834', '', 'sys:pwdAudit:export', '1', '', null, null, null, '0', 'admin', '2019-03-27 15:36:17', 'admin', '2019-03-27 15:36:17', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1111643626912608257', '1108978773529309186', 'sys/privilegeAudit', '', '0', 'icon-down-circle', null, null, null, '0', 'admin', '2019-03-29 22:57:49', 'admin', '2019-03-30 17:53:59', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1112336828338483201', '1111643626912608257', '', 'sys:user:page,sys:dept:list,sys:menu:select,sys:menu:userMenu', '1', '', null, null, null, '0', 'admin', '2019-03-31 20:52:21', 'admin', '2019-04-02 17:04:50', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1112915743196971009', '1111643626912608257', '', 'sys:menu:isImportant,sys:menu:isImportantList', '1', '', null, null, null, '0', 'admin', '2019-04-02 11:12:45', 'admin', '2019-04-02 17:05:08', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1112978398242054146', '1111643626912608257', '', 'sys:privilege:export', '1', '', null, null, null, '10', 'admin', '2019-04-02 15:21:43', 'admin', '2019-04-02 15:21:43', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1113617001195962370', '1067246875800000053', 'monitor/server', 'sys:monitor:server', '0', 'icon-detail', null, null, null, '0', 'admin', '2019-04-04 09:39:18', 'admin', '2019-12-06 10:01:19', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1117706042473631745', '1121324451186188290', 'msg/msgRecord', '', '0', 'icon-sync', null, null, null, '11', 'admin', '2019-04-15 16:27:41', 'admin', '2019-12-04 13:49:22', '0', '', 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1118110319444697090', '1117706042473631745', '', 'msg:msgRecord:myMsg,msg:msgRecord:myMsgInfo,msg:msgRecord:sumMyMsg', '1', '', null, null, null, '0', 'admin', '2019-04-16 19:14:08', 'admin', '2019-04-18 17:04:31', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1118336767388446722', '1117706042473631745', '', 'msg:msgRecord:updateReadStatus', '1', '', null, null, null, '0', 'admin', '2019-04-17 10:13:58', 'admin', '2019-07-23 18:03:32', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1118389915403546626', '1122402524739825666', '', '', '3', 'icon-USB', null, null, null, '10', 'admin', '2019-04-17 13:45:09', 'admin', '2019-07-02 09:37:34', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1118413293341581313', '1117706042473631745', '', 'msg:msgRecord:delete', '1', '', null, null, null, '0', 'admin', '2019-04-17 15:18:03', 'admin', '2019-04-18 17:04:13', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1121324451186188290', '1122402413792096257', '', '', '3', 'icon-user', null, null, null, '11', 'admin', '2019-04-25 16:05:57', 'admin', '2019-04-28 15:35:06', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1121324923284463617', '1121324451186188290', 'user/center', '', '0', 'icon-book', null, null, null, '0', 'admin', '2019-04-25 16:07:50', 'admin', '2019-04-25 16:17:28', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1122402413792096257', '0', '', '', '2', 'icon-project', null, null, null, '0', 'admin', '2019-04-28 15:29:23', 'admin', '2019-12-05 16:07:15', '0', 'C01', 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1122402524739825666', '0', '', '', '2', 'icon-setting', null, null, null, '1', 'admin', '2019-04-28 15:29:50', 'admin', '2019-12-05 16:07:23', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1122404527650009089', '1067246875800000013', '', '', '3', 'icon-piechart', null, null, null, '3', 'admin', '2019-04-28 15:37:47', 'admin', '2019-12-04 13:48:10', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1130380195256020993', '1202059032984981505', 'flowable/bpmFormDef', '', '0', 'icon-desktop', null, null, null, '0', '1067246875800000001', '2019-05-20 15:52:53', 'admin', '2019-12-04 10:59:48', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1130380195256020994', '1130380195256020993', '', 'flowable:bpmFormDef:page,flowable:bpmFormDef:info', '1', '', null, null, null, '0', '1067246875800000001', '2019-05-20 15:52:53', '1067246875800000001', '2019-05-20 15:52:53', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1130380195256020995', '1130380195256020993', '', 'flowable:bpmFormDef:save', '1', '', null, null, null, '1', '1067246875800000001', '2019-05-20 15:52:53', '1067246875800000001', '2019-05-20 15:52:53', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1130380195256020996', '1130380195256020993', '', 'flowable:bpmFormDef:update', '1', '', null, null, null, '2', '1067246875800000001', '2019-05-20 15:52:53', '1067246875800000001', '2019-05-20 15:52:53', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1130380195256020997', '1130380195256020993', '', 'flowable:bpmFormDef:delete', '1', '', null, null, null, '3', '1067246875800000001', '2019-05-20 15:52:53', '1067246875800000001', '2019-05-20 15:52:53', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1131091080756801538', '1122404527650009089', 'flowable/bpmProcBiz', '', '0', 'icon-desktop', null, null, null, '1', '1067246875800000001', '2019-05-22 14:57:50', 'admin', '2019-12-04 13:50:22', '0', '', 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1131091080756801539', '1131091080756801538', '', 'flowable:bpmProcBiz:page,flowable:bpmProcBiz:info', '1', '', null, null, null, '0', '1067246875800000001', '2019-05-22 14:57:50', '1067246875800000001', '2019-05-22 14:57:50', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1131091080756801540', '1131091080756801538', '', 'flowable:bpmProcBiz:save', '1', '', null, null, null, '1', '1067246875800000001', '2019-05-22 14:57:50', '1067246875800000001', '2019-05-22 14:57:50', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1131091080756801541', '1131091080756801538', '', 'flowable:bpmProcBiz:update', '1', '', null, null, null, '2', '1067246875800000001', '2019-05-22 14:57:50', '1067246875800000001', '2019-05-22 14:57:50', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1131091080756801542', '1131091080756801538', '', 'flowable:bpmProcBiz:delete', '1', '', null, null, null, '3', '1067246875800000001', '2019-05-22 14:57:50', '1067246875800000001', '2019-05-22 14:57:50', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1131091080756801543', '1131091080756801538', '', 'flowable:bpmProcBiz:export', '1', '', null, null, null, '4', '1067246875800000001', '2019-05-22 14:57:50', '1067246875800000001', '2019-05-22 14:57:50', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1131418921042128898', '1067246875800000002', 'sys/sysRuleSort', null, '0', 'icon-desktop', null, null, null, '3', '1067246875800000001', '2019-05-23 12:49:46', 'admin', '2019-12-04 11:24:22', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1131418921042128899', '1131418921042128898', null, 'sys:sysRuleSort:page,sys:sysRuleSort:info', '1', null, null, null, null, '0', '1067246875800000001', '2019-05-23 12:49:46', '1067246875800000001', '2019-05-23 12:49:46', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1131418921042128900', '1131418921042128898', null, 'sys:sysRuleSort:save', '1', null, null, null, null, '1', '1067246875800000001', '2019-05-23 12:49:46', '1067246875800000001', '2019-05-23 12:49:46', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1131418921042128901', '1131418921042128898', null, 'sys:sysRuleSort:update', '1', null, null, null, null, '2', '1067246875800000001', '2019-05-23 12:49:46', '1067246875800000001', '2019-05-23 12:49:46', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1131418921042128902', '1131418921042128898', null, 'sys:sysRuleSort:delete', '1', null, null, null, null, '3', '1067246875800000001', '2019-05-23 12:49:46', '1067246875800000001', '2019-05-23 12:49:46', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1131418921042128903', '1131418921042128898', null, 'sys:sysRuleSort:export', '1', null, null, null, null, '4', '1067246875800000001', '2019-05-23 12:49:46', '1067246875800000001', '2019-05-23 12:49:46', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1133545892338630657', '1122404527650009089', 'flowable/todo-parent', '', '0', 'icon-edit-square', null, null, null, '2', 'yangjian', '2019-05-29 09:29:36', 'admin', '2019-12-04 13:50:58', '0', '', 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1138633020304052225', '1067246875800000053', 'monitor/cache', '', '0', 'icon-cloud-server', null, null, null, '0', 'admin', '2019-06-12 10:24:01', 'admin', '2019-07-02 09:39:09', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1141225297814929409', '1145647440064339970', 'oss/sysOssDir', null, '0', 'icon-desktop', null, null, null, '1', '1067246875800000001', '2019-06-19 14:23:16', 'admin', '2019-12-04 11:27:02', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1141225297814929410', '1141225297814929409', null, 'oss:sysOssDir:page,oss:sysOssDir:info', '1', null, null, null, null, '0', '1067246875800000001', '2019-06-19 14:23:16', '1067246875800000001', '2019-06-19 14:23:16', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1141225297814929411', '1141225297814929409', null, 'oss:sysOssDir:save', '1', null, null, null, null, '1', '1067246875800000001', '2019-06-19 14:23:16', '1067246875800000001', '2019-06-19 14:23:16', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1141225297814929412', '1141225297814929409', null, 'oss:sysOssDir:update', '1', null, null, null, null, '2', '1067246875800000001', '2019-06-19 14:23:16', '1067246875800000001', '2019-06-19 14:23:16', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1141225297814929413', '1141225297814929409', null, 'oss:sysOssDir:delete', '1', null, null, null, null, '3', '1067246875800000001', '2019-06-19 14:23:16', '1067246875800000001', '2019-06-19 14:23:16', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1141225297814929414', '1141225297814929409', null, 'oss:sysOssDir:export', '1', null, null, null, null, '4', '1067246875800000001', '2019-06-19 14:23:16', '1067246875800000001', '2019-06-19 14:23:16', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1141225361773871106', '1145647440064339970', 'oss/sysOss', null, '0', 'icon-desktop', null, null, null, '2', '1067246875800000001', '2019-06-19 15:31:15', 'admin', '2019-12-04 11:27:14', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1141225361773871107', '1141225361773871106', null, 'oss:sysOss:page,oss:sysOss:info,oss:sysOssDir:list', '1', null, null, null, null, '0', '1067246875800000001', '2019-06-19 15:31:15', 'admin', '2019-06-23 20:12:52', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1141225361773871108', '1141225361773871106', null, 'oss:sysOss:save', '1', null, null, null, null, '1', '1067246875800000001', '2019-06-19 15:31:15', '1067246875800000001', '2019-06-19 15:31:15', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1141225361773871109', '1141225361773871106', null, 'oss:sysOss:update', '1', null, null, null, null, '2', '1067246875800000001', '2019-06-19 15:31:15', '1067246875800000001', '2019-06-19 15:31:15', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1141225361773871110', '1141225361773871106', null, 'oss:sysOss:delete', '1', null, null, null, null, '3', '1067246875800000001', '2019-06-19 15:31:15', '1067246875800000001', '2019-06-19 15:31:15', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1141225361773871111', '1141225361773871106', null, 'oss:sysOss:export', '1', null, null, null, null, '4', '1067246875800000001', '2019-06-19 15:31:15', '1067246875800000001', '2019-06-19 15:31:15', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1143351403967254529', '1118389915403546626', 'sys/export-data', 'sys:export-data:export', '0', 'icon-save', null, null, null, '0', 'admin', '2019-06-25 10:53:12', 'admin', '2019-07-02 09:38:39', '0', null, '', '1');
INSERT INTO `sys_menu` VALUES ('1145647440064339970', '1122402524739825666', '', '', '3', 'icon-wallet', null, null, null, '2', 'admin', '2019-07-01 18:56:49', 'admin', '2019-12-04 11:23:10', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1148504953559035905', '1122404527650009089', 'flowable/bpmProcBiz-add', '', '0', 'icon-appstore', null, null, null, '0', 'admin', '2019-07-09 16:11:34', 'admin', '2019-08-03 15:48:29', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1149189845248208898', '1133545892338630657', 'flowable/todo-manage-deal', '', '1', '', null, null, null, '1', 'admin', '2019-07-11 13:33:05', 'admin', '2019-08-03 15:58:20', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1151664842711404546', '1122404527650009089', 'flowable/bpmAgent', null, '0', 'icon-desktop', null, null, null, '40', '1067246875800000001', '2019-07-18 09:49:52', 'admin', '2019-12-04 13:49:52', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1151664842711404547', '1151664842711404546', null, 'flowable:bpmFormDef:page,flowable:bpmAgent:info', '1', null, null, null, null, '6', '1067246875800000001', '2019-07-18 09:49:52', 'admin', '2019-08-09 11:07:23', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1151664842711404548', '1151664842711404546', null, 'flowable:bpmAgent:save', '1', null, null, null, null, '1', '1067246875800000001', '2019-07-18 09:49:52', '1067246875800000001', '2019-07-18 09:49:52', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1151664842711404549', '1151664842711404546', null, 'flowable:bpmAgent:update', '1', null, null, null, null, '2', '1067246875800000001', '2019-07-18 09:49:52', '1067246875800000001', '2019-07-18 09:49:52', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1151664842711404550', '1151664842711404546', null, 'flowable:bpmAgent:delete', '1', null, null, null, null, '3', '1067246875800000001', '2019-07-18 09:49:52', '1067246875800000001', '2019-07-18 09:49:52', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1151664842711404551', '1151664842711404546', null, 'flowable:bpmAgent:export', '1', null, null, null, null, '4', '1067246875800000001', '2019-07-18 09:49:52', '1067246875800000001', '2019-07-18 09:49:52', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1153538606602272770', '1122404527650009089', 'flowable/agent-parent', '', '0', 'icon-filesync', null, null, null, '25', 'admin', '2019-07-23 13:33:30', 'admin', '2019-12-05 18:07:41', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1153541839211085825', '1122404527650009089', 'flowable/agent-manage', '', '0', 'icon-edit-square', null, null, null, '4', 'admin', '2019-07-23 13:46:21', 'admin', '2019-12-04 13:52:32', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1156089333816143874', '1151664842711404546', '', 'sys:user:page', '1', '', null, null, null, '0', 'admin', '2019-07-30 14:29:11', 'admin', '2019-07-30 14:29:11', '0', null, '', '1');
INSERT INTO `sys_menu` VALUES ('1156094839679021058', '1151664842711404546', '', 'flowable:bpmAgent:page,flowable:bpmAgent:info', '1', '', null, null, null, '0', 'admin', '2019-07-30 14:51:04', 'admin', '2019-08-09 11:06:59', '0', null, '', '1');
INSERT INTO `sys_menu` VALUES ('1181444397625966593', '1195167321528635393', 'sys/sysApp', '', '0', 'icon-desktop', null, null, null, '1', '1067246875800000001', '2019-10-08 14:21:01', 'admin', '2019-11-15 10:31:40', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1181444397625966594', '1181444397625966593', '', 'sys:sysApp:page,sys:sysApp:info', '1', '', null, null, null, '0', '1067246875800000001', '2019-10-08 14:21:01', '1067246875800000001', '2019-10-08 14:21:01', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1181444397625966595', '1181444397625966593', '', 'sys:sysApp:save', '1', '', null, null, null, '1', '1067246875800000001', '2019-10-08 14:21:02', '1067246875800000001', '2019-10-08 14:21:02', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1181444397625966596', '1181444397625966593', '', 'sys:sysApp:update', '1', '', null, null, null, '2', '1067246875800000001', '2019-10-08 14:21:02', '1067246875800000001', '2019-10-08 14:21:02', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1181444397625966597', '1181444397625966593', '', 'sys:sysApp:delete', '1', '', null, null, null, '3', '1067246875800000001', '2019-10-08 14:21:02', '1067246875800000001', '2019-10-08 14:21:02', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1181444397625966598', '1181444397625966593', '', 'sys:sysApp:export', '1', '', null, null, null, '4', '1067246875800000001', '2019-10-08 14:21:02', '1067246875800000001', '2019-10-08 14:21:02', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1181833490362679298', '1195167321528635393', 'msg/msgChannel', '', '0', 'icon-export', null, null, null, '4', 'admin', '2019-10-09 15:27:16', 'admin', '2019-11-15 10:32:06', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1181842182009200641', '1181833490362679298', '', 'msg:msgChannel:page,msg:msgChannel:info', '1', '', null, null, null, '0', 'admin', '2019-10-09 16:01:48', 'admin', '2019-10-09 16:01:48', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1181842292403281921', '1181833490362679298', '', 'msg:msgChannel:save', '1', '', null, null, null, '1', 'admin', '2019-10-09 16:02:15', 'admin', '2019-10-09 16:02:15', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1181842365681967106', '1181833490362679298', '', 'msg:msgChannel:update', '1', '', null, null, null, '2', 'admin', '2019-10-09 16:02:32', 'admin', '2019-10-09 16:02:32', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1181842449379303425', '1181833490362679298', '', 'msg:msgChannel:delete', '1', '', null, null, null, '3', 'admin', '2019-10-09 16:02:52', 'admin', '2019-10-09 16:02:52', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1182576544459780097', '1181444397625966593', '', 'msg:msgWechatAuth:page,msg:msgWechatAuth:info,msg:msgWechatAuth:save,msg:msgWechatAuth:delete,msg:msgWechatAccount:page', '1', '', null, null, null, '6', 'admin', '2019-10-11 16:39:54', 'admin', '2019-12-04 10:36:14', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1182835107434250242', '1181833490362679298', '', 'msg:msgWechatAccount:save,msg:msgWechatAccount:delete,msg:msgWechatAccount:update,msg:msgWechatAccount:info', '1', '', null, null, null, '6', 'admin', '2019-10-12 09:47:20', 'admin', '2019-12-04 10:29:04', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1182908207394156545', '1195167841647497218', 'msg/msgSmsTemplate', '', '0', 'icon-detail', null, null, null, '3', '1067246875800000001', '2019-10-12 18:13:49', 'admin', '2019-11-15 10:33:33', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1182908207394156546', '1182908207394156545', '', 'msg:msgSmsTemplate:page,msg:msgSmsTemplate:info,msg:msgSignature:info,sys:sysApp:info', '1', '', null, null, null, '0', '1067246875800000001', '2019-10-12 18:13:49', 'admin', '2019-10-15 16:35:52', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1182908207394156547', '1182908207394156545', '', 'msg:msgSmsTemplate:save', '1', '', null, null, null, '1', '1067246875800000001', '2019-10-12 18:13:49', '1067246875800000001', '2019-10-12 18:13:49', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1182908207394156548', '1182908207394156545', '', 'msg:msgSmsTemplate:update', '1', '', null, null, null, '2', '1067246875800000001', '2019-10-12 18:13:49', '1067246875800000001', '2019-10-12 18:13:49', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1182908207394156549', '1182908207394156545', '', 'msg:msgSmsTemplate:delete', '1', '', null, null, null, '3', '1067246875800000001', '2019-10-12 18:13:49', '1067246875800000001', '2019-10-12 18:13:49', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1182908207394156550', '1182908207394156545', '', 'msg:msgSmsTemplate:export', '1', '', null, null, null, '4', '1067246875800000001', '2019-10-12 18:13:49', '1067246875800000001', '2019-10-12 18:13:49', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1182968844237369345', '1195167321528635393', 'msg/msgSignature', '', '0', 'icon-edit-square', null, null, null, '2', '1067246875800000001', '2019-10-12 18:50:25', 'admin', '2019-11-15 10:31:53', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1182968844237369346', '1182968844237369345', '', 'msg:msgSignature:page,msg:msgSignature:info', '1', '', null, null, null, '0', '1067246875800000001', '2019-10-12 18:50:25', '1067246875800000001', '2019-10-12 18:50:25', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1182968844237369347', '1182968844237369345', '', 'msg:msgSignature:save', '1', '', null, null, null, '1', '1067246875800000001', '2019-10-12 18:50:25', '1067246875800000001', '2019-10-12 18:50:25', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1182968844237369348', '1182968844237369345', '', 'msg:msgSignature:update', '1', '', null, null, null, '2', '1067246875800000001', '2019-10-12 18:50:25', '1067246875800000001', '2019-10-12 18:50:25', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1182968844237369349', '1182968844237369345', '', 'msg:msgSignature:delete', '1', '', null, null, null, '3', '1067246875800000001', '2019-10-12 18:50:25', '1067246875800000001', '2019-10-12 18:50:25', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1182968844237369350', '1182968844237369345', '', 'msg:msgSignature:export', '1', '', null, null, null, '4', '1067246875800000001', '2019-10-12 18:50:25', '1067246875800000001', '2019-10-12 18:50:25', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1183621948898455554', '1182908207394156545', '', 'msg:msgSmsTemplate:send', '1', '', null, null, null, '0', 'admin', '2019-10-14 13:53:58', 'admin', '2019-10-14 13:53:58', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1183651546183725058', '1067246875800000013', '', '', '3', 'icon-desktop', null, null, null, '1', '1067246875800000001', '2019-10-14 17:41:26', 'admin', '2019-12-04 11:12:18', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1183652831612071937', '1202059032984981505', 'flowable/bpmTaskExtUser', '', '0', 'icon-desktop', null, null, null, '1', '1067246875800000001', '2019-10-14 17:40:01', 'admin', '2019-12-04 11:00:22', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1183652831612071938', '1183652831612071937', '', 'bpm:bpmTaskExtUser:page,bpm:bpmTaskExtUser:info', '1', '', null, null, null, '0', '1067246875800000001', '2019-10-14 17:40:01', '1067246875800000001', '2019-10-14 17:40:01', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1183652831612071939', '1183652831612071937', '', 'bpm:bpmTaskExtUser:save', '1', '', null, null, null, '1', '1067246875800000001', '2019-10-14 17:40:01', '1067246875800000001', '2019-10-14 17:40:01', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1183652831612071940', '1183652831612071937', '', 'bpm:bpmTaskExtUser:update', '1', '', null, null, null, '2', '1067246875800000001', '2019-10-14 17:40:01', '1067246875800000001', '2019-10-14 17:40:01', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1183652831612071941', '1183652831612071937', '', 'bpm:bpmTaskExtUser:delete', '1', '', null, null, null, '3', '1067246875800000001', '2019-10-14 17:40:01', '1067246875800000001', '2019-10-14 17:40:01', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1183652831612071942', '1183652831612071937', '', 'bpm:bpmTaskExtUser:export', '1', '', null, null, null, '4', '1067246875800000001', '2019-10-14 17:40:01', '1067246875800000001', '2019-10-14 17:40:01', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1183680951262081025', '1195167841647497218', 'msg/msgMailTemplate', '', '0', 'icon-desktop', null, null, null, '8', '1067246875800000001', '2019-10-15 10:28:28', 'admin', '2019-11-15 10:33:45', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1183680951262081026', '1183680951262081025', '', 'msg:msgMailTemplate:page,msg:msgMailTemplate:info,msg:msgSmsTemplate:info,msg:msgSignature:info,sys:sysApp:info', '1', '', null, null, null, '0', '1067246875800000001', '2019-10-15 10:28:28', 'admin', '2019-10-16 14:50:59', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1183680951262081027', '1183680951262081025', '', 'msg:msgMailTemplate:save', '1', '', null, null, null, '1', '1067246875800000001', '2019-10-15 10:28:28', '1067246875800000001', '2019-10-15 10:28:28', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1183680951262081028', '1183680951262081025', '', 'msg:msgMailTemplate:update', '1', '', null, null, null, '2', '1067246875800000001', '2019-10-15 10:28:28', '1067246875800000001', '2019-10-15 10:28:28', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1183680951262081029', '1183680951262081025', '', 'msg:msgMailTemplate:delete', '1', '', null, null, null, '3', '1067246875800000001', '2019-10-15 10:28:28', '1067246875800000001', '2019-10-15 10:28:28', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1183680951262081030', '1183680951262081025', '', 'msg:msgMailTemplate:export', '1', '', null, null, null, '4', '1067246875800000001', '2019-10-15 10:28:28', '1067246875800000001', '2019-10-15 10:28:28', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184009584788033537', '1183680951262081025', '', 'msg:msgMailTemplate:send', '1', '', null, null, null, '0', 'admin', '2019-10-15 15:34:18', 'admin', '2019-10-15 15:34:18', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184041743643799554', '1195167841647497218', 'msg/msgWechatTemplate', '', '0', 'icon-snippets', null, null, null, '14', '1067246875800000001', '2019-10-17 09:30:06', 'admin', '2019-11-15 10:34:18', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184041743643799555', '1184041743643799554', '', 'msg:msgWechatTemplate:page,msg:msgWechatTemplate:info', '1', '', null, null, null, '0', '1067246875800000001', '2019-10-17 09:30:06', '1067246875800000001', '2019-10-17 09:30:06', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184041743643799556', '1184041743643799554', '', 'msg:msgWechatTemplate:save', '1', '', null, null, null, '1', '1067246875800000001', '2019-10-17 09:30:06', '1067246875800000001', '2019-10-17 09:30:06', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184041743643799557', '1184041743643799554', '', 'msg:msgWechatTemplate:update', '1', '', null, null, null, '2', '1067246875800000001', '2019-10-17 09:30:06', '1067246875800000001', '2019-10-17 09:30:06', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184041743643799558', '1184041743643799554', '', 'msg:msgWechatTemplate:delete', '1', '', null, null, null, '3', '1067246875800000001', '2019-10-17 09:30:06', '1067246875800000001', '2019-10-17 09:30:06', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184041743643799559', '1184041743643799554', '', 'msg:msgWechatTemplate:export', '1', '', null, null, null, '4', '1067246875800000001', '2019-10-17 09:30:06', '1067246875800000001', '2019-10-17 09:30:06', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184277007788109825', '1195167841647497218', 'msg/wechatTemplate', '', '0', 'icon-file-markdown', null, null, null, '13', '1067246875800000001', '2019-10-16 10:57:39', 'admin', '2019-11-15 10:34:07', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184277007788109826', '1184277007788109825', '', 'msg:wechatTemplate:page,msg:wechatTemplate:info', '1', '', null, null, null, '0', '1067246875800000001', '2019-10-16 10:57:39', '1067246875800000001', '2019-10-16 10:57:39', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184277007788109827', '1184277007788109825', '', 'msg:wechatTemplate:save', '1', '', null, null, null, '1', '1067246875800000001', '2019-10-16 10:57:39', '1067246875800000001', '2019-10-16 10:57:39', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184277007788109828', '1184277007788109825', '', 'msg:wechatTemplate:update', '1', '', null, null, null, '2', '1067246875800000001', '2019-10-16 10:57:39', '1067246875800000001', '2019-10-16 10:57:39', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184277007788109829', '1184277007788109825', '', 'msg:wechatTemplate:delete', '1', '', null, null, null, '3', '1067246875800000001', '2019-10-16 10:57:39', '1067246875800000001', '2019-10-16 10:57:39', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184277007788109830', '1184277007788109825', '', 'msg:wechatTemplate:export', '1', '', null, null, null, '4', '1067246875800000001', '2019-10-16 10:57:39', '1067246875800000001', '2019-10-16 10:57:39', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184296341495312386', '1195168366010994690', 'msg/msgSmsRecord', '', '0', 'icon-calendar-check-fill', null, null, null, '6', '1067246875800000001', '2019-10-16 10:45:35', 'admin', '2019-11-15 10:35:32', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184296341495312387', '1184296341495312386', '', 'msg:msgSmsRecord:page,msg:msgSmsRecord:info', '1', '', null, null, null, '0', '1067246875800000001', '2019-10-16 10:45:35', '1067246875800000001', '2019-10-16 10:45:35', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184296341495312388', '1184296341495312386', '', 'msg:msgSmsRecord:save', '1', '', null, null, null, '1', '1067246875800000001', '2019-10-16 10:45:35', '1067246875800000001', '2019-10-16 10:45:35', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184296341495312389', '1184296341495312386', '', 'msg:msgSmsRecord:update', '1', '', null, null, null, '2', '1067246875800000001', '2019-10-16 10:45:35', '1067246875800000001', '2019-10-16 10:45:35', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184296341495312390', '1184296341495312386', '', 'msg:msgSmsRecord:delete', '1', '', null, null, null, '3', '1067246875800000001', '2019-10-16 10:45:35', '1067246875800000001', '2019-10-16 10:45:35', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184296341495312391', '1184296341495312386', '', 'msg:msgSmsRecord:export', '1', '', null, null, null, '4', '1067246875800000001', '2019-10-16 10:45:35', '1067246875800000001', '2019-10-16 10:45:35', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184345941044326402', '1195168366010994690', 'msg/msgMailRecord', '', '0', 'icon-mail-fill', null, null, null, '9', '1067246875800000001', '2019-10-16 13:55:12', 'admin', '2019-11-15 10:35:45', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184345941044326403', '1184345941044326402', '', 'msg:msgMailRecord:page,msg:msgMailRecord:info', '1', '', null, null, null, '0', '1067246875800000001', '2019-10-16 13:55:12', '1067246875800000001', '2019-10-16 13:55:12', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184345941044326404', '1184345941044326402', '', 'msg:msgMailRecord:save', '1', '', null, null, null, '1', '1067246875800000001', '2019-10-16 13:55:12', '1067246875800000001', '2019-10-16 13:55:12', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184345941044326405', '1184345941044326402', '', 'msg:msgMailRecord:update', '1', '', null, null, null, '2', '1067246875800000001', '2019-10-16 13:55:12', '1067246875800000001', '2019-10-16 13:55:12', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184345941044326406', '1184345941044326402', '', 'msg:msgMailRecord:delete', '1', '', null, null, null, '3', '1067246875800000001', '2019-10-16 13:55:12', '1067246875800000001', '2019-10-16 13:55:12', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184345941044326407', '1184345941044326402', '', 'msg:msgMailRecord:export', '1', '', null, null, null, '4', '1067246875800000001', '2019-10-16 13:55:12', '1067246875800000001', '2019-10-16 13:55:12', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184399676224544769', '1184277007788109825', '', 'msg:wechatTemplate:refresh', '1', '', null, null, null, '0', 'admin', '2019-10-16 17:24:23', 'admin', '2019-10-16 17:24:23', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1184657341549604865', '1118389915403546626', 'gen/genTable', null, '0', 'icon-reddit', null, null, null, '1', '1067246875800000001', '2019-10-17 13:21:30', 'admin', '2019-10-24 11:21:02', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1185054378767323138', '1184041743643799554', '', 'msg:msgWechatTemplate:send', '1', '', null, null, null, '0', 'admin', '2019-10-18 12:45:56', 'admin', '2019-10-18 12:45:56', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1186875642667433986', '1118389915403546626', 'gen/genTableTemplate', null, '0', 'icon-idcard', null, null, null, '130', 'admin', '2019-10-23 13:22:59', 'songlong', '2019-12-05 16:58:14', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1186875642667433987', '1186875642667433986', null, 'gen:genTableTemplate:page,gen:genTableTemplate:info', '1', null, null, null, null, '0', 'admin', '2019-10-23 13:22:59', 'admin', '2019-10-23 13:22:59', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1186875642667433988', '1186875642667433986', null, 'gen:genTableTemplate:save', '1', null, null, null, null, '1', 'admin', '2019-10-23 13:22:59', 'admin', '2019-10-23 13:22:59', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1186875642667433989', '1186875642667433986', null, 'gen:genTableTemplate:update', '1', null, null, null, null, '2', 'admin', '2019-10-23 13:22:59', 'admin', '2019-10-23 13:22:59', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1186875642667433990', '1186875642667433986', null, 'gen:genTableTemplate:delete', '1', null, null, null, null, '3', 'admin', '2019-10-23 13:22:59', 'admin', '2019-10-23 13:22:59', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1186875642667433991', '1186875642667433986', null, 'gen:genTableTemplate:export', '1', null, null, null, null, '4', 'admin', '2019-10-23 13:22:59', 'admin', '2019-10-23 13:22:59', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1186917725864304641', '1118389915403546626', 'gen/genTableTemplateType', null, '0', 'icon-deploymentunit', null, null, null, '131', 'admin', '2019-10-23 16:10:12', 'admin', '2019-10-23 16:10:12', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1186917725864304642', '1186917725864304641', null, 'gen:genTableTemplateType:page,gen:genTableTemplateType:info', '1', null, null, null, null, '0', 'admin', '2019-10-23 16:10:12', 'admin', '2019-10-23 16:10:12', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1186917725864304643', '1186917725864304641', null, 'gen:genTableTemplateType:save', '1', null, null, null, null, '1', 'admin', '2019-10-23 16:10:12', 'admin', '2019-10-23 16:10:12', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1186917725864304644', '1186917725864304641', null, 'gen:genTableTemplateType:update', '1', null, null, null, null, '2', 'admin', '2019-10-23 16:10:12', 'admin', '2019-10-23 16:10:12', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1186917725864304645', '1186917725864304641', null, 'gen:genTableTemplateType:delete', '1', null, null, null, null, '3', 'admin', '2019-10-23 16:10:12', 'admin', '2019-10-23 16:10:12', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1186917725864304646', '1186917725864304641', null, 'gen:genTableTemplateType:export', '1', null, null, null, null, '4', 'admin', '2019-10-23 16:10:12', 'admin', '2019-10-23 16:10:12', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1194897214990675969', '1195168366010994690', 'msg/msgWechatRecord', '', '0', 'icon-logout', null, null, null, '15', '1067246875800000001', '2019-11-14 16:42:43', 'admin', '2019-11-15 10:35:55', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1194897214990675970', '1194897214990675969', '', 'msg:msgWechatRecord:page,msg:msgWechatRecord:info', '1', '', null, null, null, '0', '1067246875800000001', '2019-11-14 16:42:43', '1067246875800000001', '2019-11-14 16:42:43', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1194897214990675971', '1194897214990675969', '', 'msg:msgWechatRecord:save', '1', '', null, null, null, '1', '1067246875800000001', '2019-11-14 16:42:43', '1067246875800000001', '2019-11-14 16:42:43', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1194897214990675972', '1194897214990675969', '', 'msg:msgWechatRecord:update', '1', '', null, null, null, '2', '1067246875800000001', '2019-11-14 16:42:43', '1067246875800000001', '2019-11-14 16:42:43', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1194897214990675973', '1194897214990675969', '', 'msg:msgWechatRecord:delete', '1', '', null, null, null, '3', '1067246875800000001', '2019-11-14 16:42:43', '1067246875800000001', '2019-11-14 16:42:43', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1194897214990675974', '1194897214990675969', '', 'msg:msgWechatRecord:export', '1', '', null, null, null, '4', '1067246875800000001', '2019-11-14 16:42:43', '1067246875800000001', '2019-11-14 16:42:43', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1195167321528635393', '1067246875800000024', '', '', '3', 'icon-setting', null, null, null, '141', 'admin', '2019-11-15 10:31:09', 'admin', '2019-11-15 10:31:09', '0', null, '', '1');
INSERT INTO `sys_menu` VALUES ('1195167841647497218', '1067246875800000024', '', '', '3', 'icon-Batchfolding', null, null, null, '151', 'admin', '2019-11-15 10:33:13', 'admin', '2019-11-15 10:33:13', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1195168366010994690', '1067246875800000024', '', '', '3', 'icon-aliwangwang', null, null, null, '161', 'admin', '2019-11-15 10:35:18', 'admin', '2019-11-15 10:35:18', '0', '', '', '1');
INSERT INTO `sys_menu` VALUES ('1196684563789578241', '0', '', '', '2', '', null, null, null, '23', 'admin', '2019-11-19 15:00:08', 'admin', '2019-11-19 15:00:33', '0', null, 'C02', '1');
INSERT INTO `sys_menu` VALUES ('1196684792492392450', '1196684563789578241', '', '', '3', '', null, null, null, '1', 'admin', '2019-11-19 15:01:03', 'admin', '2019-11-19 15:01:03', '0', null, '', '1');
INSERT INTO `sys_menu` VALUES ('1196684868094722049', '1196684563789578241', '', '', '3', '', null, null, null, '2', 'admin', '2019-11-19 15:01:21', 'admin', '2019-11-19 15:01:21', '0', null, '', '1');
INSERT INTO `sys_menu` VALUES ('1196685182294228993', '1196684792492392450', '', '', '0', 'icon-safe', null, null, null, '1', 'admin', '2019-11-19 15:02:35', 'admin', '2019-11-20 15:37:45', '0', null, '', '1');
INSERT INTO `sys_menu` VALUES ('1196685251206643714', '1196684792492392450', '', '', '0', 'icon-user', null, null, null, '2', 'admin', '2019-11-19 15:02:52', 'admin', '2019-12-05 16:14:34', '0', null, 'C02', '1');
INSERT INTO `sys_menu` VALUES ('1196685742418362369', '0', '', '', '2', '', null, null, null, '22', 'admin', '2019-11-19 15:04:49', 'admin', '2019-11-19 15:05:05', '0', null, 'C02', '1');
INSERT INTO `sys_menu` VALUES ('1196685882919157762', '0', '', '', '2', 'icon-tel', null, null, null, '21', 'admin', '2019-11-19 15:05:22', 'admin', '2019-11-19 18:10:57', '0', null, 'C02', '1');
INSERT INTO `sys_menu` VALUES ('1196686242396176386', '0', '', '', '2', '', null, null, null, '25', 'admin', '2019-11-19 15:06:48', 'admin', '2019-11-19 15:06:48', '0', null, 'C02', '1');
INSERT INTO `sys_menu` VALUES ('1196745609938132993', '0', '', '', '2', '', null, null, null, '171', 'admin', '2019-11-19 19:02:43', 'admin', '2019-11-19 19:02:43', '0', null, 'C02', '1');
INSERT INTO `sys_menu` VALUES ('1196745702166683650', '1196745609938132993', '/pages/demo/bpmFormFee', '', '0', '', null, null, null, '181', 'admin', '2019-11-19 19:03:05', 'admin', '2019-11-19 19:03:05', '0', null, 'C02', '1');
INSERT INTO `sys_menu` VALUES ('1197037994081476609', '1196684868094722049', '', '', '0', 'icon-phone', null, null, null, '191', 'admin', '2019-11-20 14:24:32', 'admin', '2019-11-20 14:51:11', '0', null, '', '1');
INSERT INTO `sys_menu` VALUES ('1197100548677918721', '1196684792492392450', '', '', '0', 'icon-address', null, null, null, '201', 'admin', '2019-11-20 18:33:07', 'songlong', '2019-11-22 17:25:54', '0', null, '', '1');
INSERT INTO `sys_menu` VALUES ('1197100697621848065', '1196684792492392450', '', '', '0', 'icon-position', null, null, null, '211', 'admin', '2019-11-20 18:33:42', 'admin', '2019-11-20 18:33:42', '0', null, '', '1');
INSERT INTO `sys_menu` VALUES ('1197100807206428673', '1196684792492392450', '', '', '0', 'icon-keyboard', null, null, null, '221', 'admin', '2019-11-20 18:34:08', 'admin', '2019-11-20 18:34:08', '0', null, '', '1');
INSERT INTO `sys_menu` VALUES ('1197100986517118977', '1196684792492392450', '', '', '0', 'icon-tel', null, null, null, '231', 'admin', '2019-11-20 18:34:51', 'songlong', '2019-11-22 17:23:03', '0', null, '', '1');
INSERT INTO `sys_menu` VALUES ('1197101100421832706', '1196684792492392450', '', '', '0', 'icon-weibo', null, null, null, '241', 'admin', '2019-11-20 18:35:18', 'admin', '2019-11-20 18:35:18', '0', null, '', '1');
INSERT INTO `sys_menu` VALUES ('1197101280508469249', '1196684792492392450', '', '', '0', 'icon-qq', null, null, null, '251', 'admin', '2019-11-20 18:36:01', 'admin', '2019-11-20 18:36:01', '0', null, '', '1');
INSERT INTO `sys_menu` VALUES ('1197101377027792897', '1196684792492392450', '', '', '0', 'icon-time2', null, null, null, '261', 'admin', '2019-11-20 18:36:24', 'admin', '2019-12-05 16:14:50', '0', null, 'C02', '1');
INSERT INTO `sys_menu` VALUES ('1197101640451055617', '1196684792492392450', '', '', '0', 'icon-article', null, null, null, '271', 'admin', '2019-11-20 18:37:27', 'admin', '2019-11-20 18:37:27', '0', null, '', '1');
INSERT INTO `sys_menu` VALUES ('1197101801826902018', '1196684792492392450', '', '', '0', 'icon-shoppingcard', null, null, null, '281', 'admin', '2019-11-20 18:38:05', 'songlong', '2019-11-22 17:28:27', '0', null, '', '1');
INSERT INTO `sys_menu` VALUES ('1199932946268426241', '1195168366010994690', 'msg/msgDingtalkRecord', null, '0', 'icon-detail', null, null, null, '18', '1067246875800000001', '2019-12-04 10:58:32', 'admin', '2019-12-04 13:40:51', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1199932946268426242', '1199932946268426241', null, 'msg:msgDingtalkRecord:page,msg:msgDingtalkRecord:info', '1', null, null, null, null, '0', '1067246875800000001', '2019-12-04 10:58:32', '1067246875800000001', '2019-12-04 10:58:32', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1199932946268426243', '1199932946268426241', null, 'msg:msgDingtalkRecord:save', '1', null, null, null, null, '1', '1067246875800000001', '2019-12-04 10:58:32', '1067246875800000001', '2019-12-04 10:58:32', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1199932946268426244', '1199932946268426241', null, 'msg:msgDingtalkRecord:update', '1', null, null, null, null, '2', '1067246875800000001', '2019-12-04 10:58:32', '1067246875800000001', '2019-12-04 10:58:32', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1199932946268426245', '1199932946268426241', null, 'msg:msgDingtalkRecord:delete', '1', null, null, null, null, '3', '1067246875800000001', '2019-12-04 10:58:32', '1067246875800000001', '2019-12-04 10:58:32', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1199932946268426246', '1199932946268426241', null, 'msg:msgDingtalkRecord:export', '1', null, null, null, null, '4', '1067246875800000001', '2019-12-04 10:58:33', '1067246875800000001', '2019-12-04 10:58:33', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1199935100119027714', '1195167841647497218', 'msg/msgDingtalkTemplate', null, '0', 'icon-reconciliation', null, null, null, '18', '1067246875800000001', '2019-12-04 10:50:18', 'cheleiyan', '2019-12-04 10:52:05', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1199935100119027715', '1199935100119027714', null, 'msg:msgDingtalkTemplate:page,msg:msgDingtalkTemplate:info', '1', null, null, null, null, '0', '1067246875800000001', '2019-12-04 10:50:18', '1067246875800000001', '2019-12-04 10:50:18', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1199935100119027716', '1199935100119027714', null, 'msg:msgDingtalkTemplate:save', '1', null, null, null, null, '1', '1067246875800000001', '2019-12-04 10:50:18', '1067246875800000001', '2019-12-04 10:50:18', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1199935100119027717', '1199935100119027714', null, 'msg:msgDingtalkTemplate:update', '1', null, null, null, null, '2', '1067246875800000001', '2019-12-04 10:50:18', '1067246875800000001', '2019-12-04 10:50:18', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1199935100119027718', '1199935100119027714', null, 'msg:msgDingtalkTemplate:delete', '1', null, null, null, null, '3', '1067246875800000001', '2019-12-04 10:50:18', '1067246875800000001', '2019-12-04 10:50:18', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1199935100119027719', '1199935100119027714', null, 'msg:msgDingtalkTemplate:export', '1', null, null, null, null, '4', '1067246875800000001', '2019-12-04 10:50:18', '1067246875800000001', '2019-12-04 10:50:18', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1199937010075045890', '1195167841647497218', 'msg/dingtalkTemplate', null, '0', 'icon-file-markdown', null, null, null, '16', '1067246875800000001', '2019-12-04 10:43:59', 'cheleiyan', '2019-12-04 10:49:53', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1199937010075045891', '1199937010075045890', null, 'dingtalk:dingtalkTemplate:page,dingtalk:dingtalkTemplate:info', '1', null, null, null, null, '0', '1067246875800000001', '2019-12-04 10:43:59', '1067246875800000001', '2019-12-04 10:43:59', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1199937010075045892', '1199937010075045890', null, 'dingtalk:dingtalkTemplate:save', '1', null, null, null, null, '1', '1067246875800000001', '2019-12-04 10:43:59', '1067246875800000001', '2019-12-04 10:43:59', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1199937010075045893', '1199937010075045890', null, 'dingtalk:dingtalkTemplate:update', '1', null, null, null, null, '2', '1067246875800000001', '2019-12-04 10:43:59', '1067246875800000001', '2019-12-04 10:43:59', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1199937010075045894', '1199937010075045890', null, 'dingtalk:dingtalkTemplate:delete', '1', null, null, null, null, '3', '1067246875800000001', '2019-12-04 10:43:59', '1067246875800000001', '2019-12-04 10:43:59', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1199937010075045895', '1199937010075045890', null, 'dingtalk:dingtalkTemplate:export', '1', null, null, null, null, '4', '1067246875800000001', '2019-12-04 10:44:00', '1067246875800000001', '2019-12-04 10:44:00', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1202051927406186497', '1181833490362679298', '', 'msg:msgDingtalkAccount:info,msg:msgDingtalkAccount:save,msg:msgDingtalkAccount:update,msg:msgDingtalkAccount:delete', '1', '', null, null, null, '291', 'admin', '2019-12-04 10:28:07', 'admin', '2019-12-04 10:28:07', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1202054520257810434', '1181444397625966593', '', 'msg:msgDingtalkAuth:page,msg:msgDingtalkAuth:info,msg:msgDingtalkAuth:save,msg:msgDingtalkAuth:update,msg:msgDingtalkAuth:delete,msg:msgDingtalkAccount:page', '1', '', null, null, null, '301', 'admin', '2019-12-04 10:38:25', 'admin', '2019-12-04 10:38:25', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1202059032984981505', '1067246875800000013', '', '', '3', 'icon-deploymentunit', null, null, null, '2', 'admin', '2019-12-04 10:56:21', 'admin', '2019-12-04 11:08:57', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1202105880600809473', '1202059032984981505', 'flowable/bpmTaskExtUrl', '', '0', 'icon-setting', null, null, null, '311', 'admin', '2019-12-04 14:02:31', 'admin', '2019-12-04 14:05:49', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1202106628789145601', '1202105880600809473', '', 'bpm:bpmTaskExtUrl:page,bpm:bpmTaskExtUrl:info', '1', '', null, null, null, '321', 'admin', '2019-12-04 14:05:29', 'admin', '2019-12-04 14:05:29', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1202106866174169089', '1202105880600809473', '', 'bpm:bpmTaskExtUrl:save', '1', 'icon-setting', null, null, null, '331', 'admin', '2019-12-04 14:06:26', 'admin', '2019-12-04 14:06:26', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1202106929415884801', '1202105880600809473', '', 'bpm:bpmTaskExtUrl:update', '1', 'icon-setting', null, null, null, '341', 'admin', '2019-12-04 14:06:41', 'admin', '2019-12-04 14:06:41', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1202107001608245250', '1202105880600809473', '', 'bpm:bpmTaskExtUrl:delete', '1', 'icon-setting', null, null, null, '351', 'admin', '2019-12-04 14:06:58', 'admin', '2019-12-04 14:07:35', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1202107097523589122', '1202105880600809473', '', 'bpm:bpmTaskExtUrl:export', '1', 'icon-setting', null, null, null, '361', 'admin', '2019-12-04 14:07:21', 'admin', '2019-12-04 14:07:21', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1202511950502637569', '1118389915403546626', 'gen/genCodeSnippet', null, '0', 'icon-creditcard', null, null, null, '113', 'songlong', '2019-12-05 16:56:05', 'songlong', '2019-12-05 16:58:01', '0', null, 'C01', '1');
INSERT INTO `sys_menu` VALUES ('1202511950502637570', '1202511950502637569', null, 'gen:genCodeSnippet:page,gen:genCodeSnippet:info', '1', null, null, null, null, '0', 'songlong', '2019-12-05 16:56:05', 'songlong', '2019-12-05 16:56:05', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1202511950502637571', '1202511950502637569', null, 'gen:genCodeSnippet:save', '1', null, null, null, null, '1', 'songlong', '2019-12-05 16:56:05', 'songlong', '2019-12-05 16:56:05', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1202511950502637572', '1202511950502637569', null, 'gen:genCodeSnippet:update', '1', null, null, null, null, '2', 'songlong', '2019-12-05 16:56:05', 'songlong', '2019-12-05 16:56:05', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1202511950502637573', '1202511950502637569', null, 'gen:genCodeSnippet:delete', '1', null, null, null, null, '3', 'songlong', '2019-12-05 16:56:05', 'songlong', '2019-12-05 16:56:05', '0', null, null, '1');
INSERT INTO `sys_menu` VALUES ('1202511950502637574', '1202511950502637569', null, 'gen:genCodeSnippet:export', '1', null, null, null, null, '4', 'songlong', '2019-12-05 16:56:05', 'songlong', '2019-12-05 16:56:05', '0', null, null, '1');

INSERT INTO `sys_params` VALUES ('1067246875800000073', 'CLOUD_STORAGE_CONFIG_KEY', '{\"type\":5,\"qiniuDomain\":\"http://ptfopw8g9.bkt.clouddn.com\",\"qiniuPrefix\":\"upload\",\"qiniuAccessKey\":\"fMJObNv5hlXPbmhlshiBzi7aA6VQEZiYxHTlE3EL\",\"qiniuSecretKey\":\"24pwVW74T6rjFDzFuVICHeoTzj6Ch6VmJlasEctG\",\"qiniuBucketName\":\"yangjian01\",\"aliyunDomain\":\" http://kingkingdev.oss-cn-beijing.aliyuncs.com\",\"aliyunPrefix\":\"A\",\"aliyunEndPoint\":\"http://oss-cn-beijing.aliyuncs.com\",\"aliyunAccessKeyId\":\"LTAIM5TOccepFa9M\",\"aliyunAccessKeySecret\":\"Xloxw6NN6uC6lI0zeWeSTFUvZQ6Wg2\",\"aliyunBucketName\":\"kingkingdev\",\"qcloudDomain\":\"http://yangjian01-1259497130.cos.ap-beijing.myqcloud.com\",\"qcloudPrefix\":\"A\",\"qcloudAppId\":1259497130,\"qcloudSecretId\":\"AKIDmI2YprRFXZKpMhdhU6zrdHk3A4CJ7rIV\",\"qcloudSecretKey\":\"84sQi1B5j7F7qMcXijMktmYwHURBsJUP\",\"qcloudBucketName\":\"yangjian01\",\"qcloudRegion\":\"ap-beijing\",\"fastdfsDomain\":\"localhost\",\"localDomain\":\"http://47.105.158.68:8080/uniedp-web\",\"localPrefix\":\"testFile\",\"localPath\":\"/Users/chen/doc\"}', '0', '云存储配置信息', '1067246875800000001', '2019-02-19 08:58:05', '1067246875800000001', '2019-02-19 08:58:05');
INSERT INTO `sys_params` VALUES ('1107431680716476418', 'SYS_ADMIN_MODEL', '{\"optionVisit\":1,\"optionData\":1,\"authVisit\":1,\"authData\":1}', '1', '系统管理员权限模式', 'admin', '2019-03-18 08:01:02', 'admin', '2019-04-23 21:57:27');
INSERT INTO `sys_params` VALUES ('1107432156006617090', 'COMMON_ADMIN_MODEL', '{\"optionVisit\":1,\"optionData\":0,\"authVisit\":0,\"authData\":0}', '1', '普通管理员权限模式', 'admin', '2019-03-18 08:02:56', 'yangjian', '2019-05-21 10:22:50');
INSERT INTO `sys_params` VALUES ('1110382142914740226', 'SECURITY_CONFIG_KEY', '{\"initPassword\":\"1\",\"initPasswordModify\":1,\"passwordModifySecurityLevel\":2,\"passwordModify\":1,\"passwordModifyCycle\":10,\"failureHere\":3,\"unlockTime\":5,\"verificationCodeHere\":1}', '0', '系统安全配置信息', 'admin', '2019-03-26 11:25:07', 'admin', '2019-03-26 11:25:07');
INSERT INTO `sys_params` VALUES ('1144123405888618498', 'LOGIN_STRATEGY_IP', '{\"value\":\"0\",\"ip\":\"192.168.1.1/100,192.168.0.150/200\"}', '0', 'IP登录策略', 'admin', '2019-06-27 14:00:51', 'admin', '2019-06-27 14:00:51');

INSERT INTO `sys_rule_data` VALUES ('100', '本部门', '1', 'DS_DEPT', '10', null, null, '', 'select id from sys_dept where id = {deptId}', '{\"deptId\": \"@deptId\"}');
INSERT INTO `sys_rule_data` VALUES ('200', '本部门及下属部门', '2', 'DS_DEPT', '20', null, null, null, 'select id from sys_dept where id={deptId} UNION select id from sys_dept where pids like \'%{deptId}%\'', '{\"deptId\": \"@deptId\", \"id\": \"100\"}');
INSERT INTO `sys_rule_data` VALUES ('300', '所有部门', 'all', 'DS_DEPT', '30', null, null, null, 'select * from sys_dept', '');

INSERT INTO `sys_rule_sort` VALUES ('1131425934435647490', '1', '部门权限', 'DS_DEPT', 'select t.id, t.name, t.pid, 0 as root_id from sys_dept t where t.status = 1', '', '1', 'admin', '2019-05-23 13:05:38', 'admin', '2019-05-24 12:20:43', '0');

INSERT INTO `sys_user` VALUES ('1067246875800000001', 'admin', '$2a$10$ZezkE8.I4ijmH3y0MpBpRuXFamNqDlBFJSQKVMARAaikza4pUjFQm', '管理员', null, '0', 'root11@ecode.net.cn', '13612345888', null, '1', '1', '1067246875800000001', '2019-02-19 08:58:01', 'admin', '2019-11-21 16:31:24', '192.168.0.16');

INSERT INTO `sys_user_login` VALUES ('1067246875800000001', 'HOMETOWN_NAME', '2', 'MOTHER_NAME', '2', 'FATHER_NAME', '4', '1', '2019-05-10 09:33:13', '219.147.28.114', '2019-12-06 10:24:40', null, '2019-03-28 09:32:36', '2019-12-06 10:24:40');

-- 消息通道
INSERT INTO msg_channel
(id, channel_code, channel_name, channel_service, channel_class, config_param, enable_flag, edit_flag, remark, creator, create_date, updater, update_date)
VALUES(1182115117148106751, 'sms1', '阿里云', 'aliyunSmsService', 'SMS', '{"aliyunAccessKeyId":"LTAI4Fbd8FbYupBaB8rCkdY2","aliyunAccessKeySecret":"g9fO2m689v5dVvqo8uUbaeYdYJtPsd","aliyunSignName":"一起赢","aliyunTemplateCode":"您的验证码是${code}"}', 1, 0, '设置阿里云的账号、秘钥', 'che', '2019-10-09 10:10:16.000', 'che', '2019-10-09 10:10:22.000');
INSERT INTO msg_channel
(id, channel_code, channel_name, channel_service, channel_class, config_param, enable_flag, edit_flag, remark, creator, create_date, updater, update_date)
VALUES(1182115117148106752, 'sms2', '腾讯云', 'qcloudSmsService', 'SMS', '{"qcloudAppId":1259497130,"qcloudAppKey":"84sQi1B5j7F7qMcXijMktmYwHURBsJUP"}', 0, 0, '腾讯云短信服务', 'che', '2019-10-09 10:10:16.000', 'che', '2019-10-09 10:10:22.000');
INSERT INTO msg_channel
(id, channel_code, channel_name, channel_service, channel_class, config_param, enable_flag, edit_flag, remark, creator, create_date, updater, update_date)
VALUES(1182115117148106753, 'sms_custom', '自定义', 'customSmsService', 'SMS', '', 0, 1, '自定义短信服务', 'che', '2019-10-09 10:10:16.000', 'admin', '2019-10-12 16:04:44.000');
INSERT INTO msg_channel
(id, channel_code, channel_name, channel_service, channel_class, config_param, enable_flag, edit_flag, remark, creator, create_date, updater, update_date)
VALUES(1182115117148106754, 'email1', '标准邮件通道', 'commonEmailService', 'EMAIL', '{"smtp":"smtp.126.com","port":465,"username":"qius_cna@126.com","password":"q20040706","ssl":"javax.net.ssl.SSLSocketFactory"}', 1, 0, '标准邮件服务', 'che', '2019-10-09 10:10:16.000', 'admin', '2019-10-10 09:16:10.000');
INSERT INTO msg_channel
(id, channel_code, channel_name, channel_service, channel_class, config_param, enable_flag, edit_flag, remark, creator, create_date, updater, update_date)
VALUES(1182115117148106755, 'email_custom', '自定义', 'MailService', 'EMAIL', '{"smtp":"smtp.126.com","port":465,"username":"qius_cna@126.com","password":"q20040706","ssl":"javax.net.ssl.SSLSocketFactory"}', 0, 1, '自定义邮件服务', 'che', '2019-10-09 10:10:16.000', 'admin', '2019-10-12 16:04:54.000');

-- 代码生成器
INSERT INTO gen_code_snippet
(id, snippet_code, snippet_name, snippet_type, snippet_content, snippet_desc, creator, create_date, updater, update_date)
VALUES(1193813315336351746, 'ui_query_form_i18n', '公共查询工具条_国际化', 'webui', '<el-collapse-transition>
	  <el-form v-if="searchShow" :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
  		<#list queryColList as c>
        <#if fieldMap[c.javaField]?? >
            <#assign fieldName = "$t(''common.${c.javaField}'')">
        <#else>
            <#assign fieldName = "$t(''${className}.${c.javaField}'')">
        </#if>
        <#if c.showType==''select'' >
            <!--下拉框-->
            <el-form-item>
              <el-select v-model="dataForm.${c.javaField}" :placeholder="${fieldName}" clearable>
                <#if c.dictType?? && c.dictType !='''' >
                    <el-option v-for="template in $getDictList(''${c.dictType}'', true)"
                    :key="template.val"
                    :label="template.label"
                    :value="template.val"></el-option>
                </#if>
              </el-select>
            </el-form-item>
        <#elseif c.showType==''dateselect'' >
            <!--日期框-->
            <el-form-item>
              <el-date-picker v-model="dataForm.${c.javaField}"
              :placeholder="${fieldName}" type="date" ></el-date-picker>
            </el-form-item>
        <#else>
            <!--文本框-->
            <el-form-item>
              <el-input v-model="dataForm.${c.javaField}"
              :placeholder="${fieldName}" clearable></el-input>
            </el-form-item>
        </#if>
  		</#list>
  		<el-form-item>
  		  <el-button type="primary" @click="getDataList()">{{ $t(''query'') }}</el-button>
  		  <el-button @click="searchReset()">{{ $t(''reset'') }}</el-button>
  		</el-form-item>
	  </el-form>
</el-collapse-transition>', '前台列表公共查询', 'admin', '2019-11-11 16:50:49.000', 'admin', '2019-12-04 18:37:44.000');
INSERT INTO gen_code_snippet
(id, snippet_code, snippet_name, snippet_type, snippet_content, snippet_desc, creator, create_date, updater, update_date)
VALUES(1193814138111995906, 'ui_query_form', '公共查询工具条', 'webui', '<el-collapse-transition>
    <el-form v-if="searchShow" :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
      <#list queryColList as c>
        <#if c.showType==''select'' >
            <!--下拉框-->
            <el-form-item>
              <el-select v-model="dataForm.${c.javaField}" placeholder="${c.comments}" clearable>
                <#if c.dictType?? && c.dictType !='''' >
                    <el-option v-for="template in $getDictList(''${c.dictType}'', true)"
                    :key="template.val"
                    :label="template.label"
                    :value="template.val"></el-option>
                </#if>
              </el-select>
            </el-form-item>
        <#elseif c.showType==''dateselect'' >
            <!--日期框-->
            <el-form-item>
              <el-date-picker v-model="dataForm.${c.javaField}"
              placeholder="${c.comments}" type="date" ></el-date-picker>
            </el-form-item>
        <#else>
            <!--文本框-->
            <el-form-item>
              <el-input v-model="dataForm.${c.javaField}"
              placeholder="${c.comments}" clearable></el-input>
            </el-form-item>
        </#if>
      </#list>
      <el-form-item>
        <el-button type="primary" @click="getDataList()">{{ $t(''query'') }}</el-button>
        <el-button @click="searchReset()">{{ $t(''reset'') }}</el-button>
      </el-form-item>
    </el-form>
</el-collapse-transition>', '前台列表公共查询', 'admin', '2019-11-11 16:54:05.000', 'admin', '2019-12-04 18:38:08.000');
INSERT INTO gen_code_snippet
(id, snippet_code, snippet_name, snippet_type, snippet_content, snippet_desc, creator, create_date, updater, update_date)
VALUES(1194432115307986946, 'tablelist', '带工具条的列表无国际化', 'webui', '<vxe-toolbar :setting="{immediate:true}">
  <template v-slot:buttons>
    <el-button v-if="$hasPermission(''${moduleName}:${className}:save'')" type="primary" @click="addOrUpdateHandle()">{{ $t(''add'') }}</el-button>
    <el-button v-if="$hasPermission(''${moduleName}:${className}:delete'')" type="danger" @click="deleteHandle()">{{ $t(''deleteBatch'') }}</el-button>
  </template>
  <template v-slot:tools>
    <el-button icon="el-icon-search" @click="searchShowHandle()" circle></el-button>
    <el-button icon="el-icon-refresh" @click="getDataList()" circle></el-button>
    <el-button icon="el-icon-download" @click="$refs.xTable.openExport()" circle></el-button>
  </template>
</vxe-toolbar>
<vxe-table ref="xTable"
           :loading="dataListLoading"
           class="vxe-table-element"
           auto-resize
           @select-change="dataListSelectionChangeHandleVex"
           @select-all="dataListSelectionAllChangeHandleVex"
           :data="dataList">
  <vxe-table-column type="checkbox" align="center" width="60"></vxe-table-column>
 <#list listColList as c>
    <vxe-table-column field="${c.javaField}" title="${c.comments}" >
        <#if c.dictType?? && c.dictType !='''' >
             <template slot-scope="scope">
                {{$getDictLabel(''${c.dictType}'', scope.row.${c.javaField})}}
             </template>
        </#if>
    </vxe-table-column>
  </#list>
  <vxe-table-column title="handle" fixed="right" align="center" >
    <template slot-scope="scope">
      <el-button v-if="$hasPermission(''gen:genTableTemplate:update'')" type="text" size="small" icon="el-icon-edit"  @click="addOrUpdateHandle(scope.row)">{{ $t(''update'') }}</el-button>
      <el-button v-if="$hasPermission(''gen:genTableTemplate:delete'')" type="text" size="small" icon="el-icon-delete" @click="deleteHandle(scope.row.id)">{{ $t(''delete'') }}</el-button>
    </template>
  </vxe-table-column>
</vxe-table>
<el-pagination
  :current-page="page"
  :page-sizes="[10, 20, 50, 100]"
  :page-size="limit"
  :total="total"
  layout="total, sizes, prev, pager, next, jumper"
  @size-change="pageSizeChangeHandle"
  @current-change="pageCurrentChangeHandle">
</el-pagination>', '', 'admin', '2019-11-13 09:49:42.000', 'admin', '2019-12-04 18:42:26.000');
INSERT INTO gen_code_snippet
(id, snippet_code, snippet_name, snippet_type, snippet_content, snippet_desc, creator, create_date, updater, update_date)
VALUES(1194446721036337153, 'tablelist_i18n', '带工具条的列表有国际化', 'webui', '<vxe-toolbar setting>
  <template v-slot:buttons>
    <el-button v-if="$hasPermission(''${moduleName}:${className}:save'')" type="primary" @click="addOrUpdateHandle()">{{ $t(''add'') }}</el-button>
    <el-button v-if="$hasPermission(''${moduleName}:${className}:delete'')" type="danger" @click="deleteHandle()">{{ $t(''deleteBatch'') }}</el-button>
  </template>
  <template v-slot:tools>
    <el-button icon="el-icon-search" @click="searchShowHandle()" circle></el-button>
    <el-button icon="el-icon-refresh" @click="getDataList()" circle></el-button>
    <el-button icon="el-icon-download" @click="$refs.xTable.openExport()" circle></el-button>
  </template>
</vxe-toolbar>
<vxe-table ref="xTable"
           :loading="dataListLoading"
           class="vxe-table-element"
           auto-resize
           @select-change="dataListSelectionChangeHandleVex"
           @select-all="dataListSelectionAllChangeHandleVex"
           :data="dataList">
  <vxe-table-column type="checkbox" width="60"></vxe-table-column>
 <#list listColList as c>
    <#if fieldMap[c.javaField]?? >
        <#assign fieldName = "$t(''common.${c.javaField}'')">
    <#else>
        <#assign fieldName = "$t(''${className}.${c.javaField}'')">
    </#if>
    <vxe-table-column field="${c.javaField}" title="${fieldName}" >
        <#if c.dictType?? && c.dictType !='''' >
             <template slot-scope="scope">
                {{$getDictLabel(''${c.dictType}'', scope.row.${c.javaField})}}
             </template>
        </#if>
    </vxe-table-column>
  </#list>
  <vxe-table-column title="handle" fixed="right" >
    <template slot-scope="scope">
      <el-button v-if="$hasPermission(''gen:genTableTemplate:update'')" type="text" size="small" @click="addOrUpdateHandle(scope.row)">{{ $t(''update'') }}</el-button>
      <el-button v-if="$hasPermission(''gen:genTableTemplate:delete'')" type="text" size="small" @click="deleteHandle(scope.row.id)">{{ $t(''delete'') }}</el-button>
    </template>
  </vxe-table-column>
</vxe-table>
<el-pagination
  :current-page="page"
  :page-sizes="[10, 20, 50, 100]"
  :page-size="limit"
  :total="total"
  layout="total, sizes, prev, pager, next, jumper"
  @size-change="pageSizeChangeHandle"
  @current-change="pageCurrentChangeHandle">
</el-pagination>', '', 'admin', '2019-11-13 10:47:45.000', 'admin', '2019-11-25 17:02:28.000');
INSERT INTO gen_code_snippet
(id, snippet_code, snippet_name, snippet_type, snippet_content, snippet_desc, creator, create_date, updater, update_date)
VALUES(1194448133921193986, 'edit_form', '编辑表单无国际化', 'webui', '<el-form v-loading="loading" :model="dataForm" :rules="dataRule" ref="dataForm" :label-width="$i18n.locale === ''en-US'' ? ''120px'' : ''120px''">
<#list editColList as c>
  <#assign fieldName = c.comments >
  <el-col :span="${c.optionsLayout}">
    <!-- ${c.comments} -->
    <el-form-item label="${fieldName}"
        <#if c.showType==''select'' >
             prop="${c.javaField}">
            <!--下拉框-->
            <el-select v-model="dataForm.${c.javaField}" placeholder="${fieldName}" clearable>
                <#if c.dictType?? && c.dictType !='''' >
                    <el-option v-for="template in $getDictList(''${c.dictType}'', true)"
                    :key="template.val"
                    :label="template.label"
                    :value="template.val"></el-option>
                </#if>
            </el-select>
        <#elseif c.showType==''parentselect'' >
              >
            <!--父级选择框-->
            <el-tree-select v-model="dataForm.${c.javaField}" ref="parentTree"
              :data="parentTreeData" />
        <#elseif c.showType==''dateselect'' >
             prop="${c.javaField}">
            <!--日期框-->
            <el-date-picker v-model="dataForm.${c.javaField}" value-format="yyyy-MM-dd HH:mm:ss"
            placeholder="${fieldName}" type="date" ></el-date-picker>
        <#elseif c.showType==''textarea'' >
             prop="${c.javaField}">
            <!--文本域-->
            <el-input type="textarea" :rows="3" v-model="dataForm.${c.javaField}"
            placeholder="${fieldName}"  ></el-input>
        <#elseif c.showType==''radiobox'' >
             prop="${c.javaField}">
            <!--单选框-->
            <#if c.dictType?? && c.dictType !='''' >
                <el-radio-group v-model="dataForm.${c.javaField}">
                    <el-radio v-for="template in $getDictList(''${c.dictType}'', true)"
                    :key="template.val" :label="template.val" >{{template.label}}</el-radio>
                </el-radio-group>
            <#else>
                 <el-radio v-model="dataForm.${c.javaField}" label="-1">未知</el-radio>
            </#if>
        <#elseif c.showType==''checkbox'' >
             prop="${c.javaField}">
            <!--复选框-->
            <#if c.dictType?? && c.dictType !='''' >
                <<el-checkbox-group v-model="dataForm.${c.javaField}">
                    <el-checkbox v-for="template in $getDictList(''${c.dictType}'', true)"
                    :label="template.val" :key="template.val">{{template.label}}</el-checkbox>
                </el-checkbox-group>
            <#else>
                 <el-checkbox v-model="dataForm.${c.javaField}" >未知</el-checkbox>
            </#if>
        <#elseif c.showType==''editor'' >
             prop="${c.javaField}">
            <!--富文本-->
            <uni-editor v-model="dataForm.${c.javaField}"></uni-editor>
        <#elseif c.showType==''number'' >
             prop="${c.javaField}">
            <!--计数器-->
             <el-input-number v-model="dataForm.${c.javaField}" :min="1" :max="50" ></el-input-number>
        <#else>
              prop="${c.javaField}">
            <!--文本框-->
            <el-input v-model="dataForm.${c.javaField}"
                placeholder="${fieldName}" clearable></el-input>
        </#if>
    </el-form-item>
  </el-col>
</#list>
</el-form>', '', 'admin', '2019-11-13 10:53:22.000', 'admin', '2019-12-04 18:54:37.000');
INSERT INTO gen_code_snippet
(id, snippet_code, snippet_name, snippet_type, snippet_content, snippet_desc, creator, create_date, updater, update_date)
VALUES(1194448335260368898, 'edit_form_i18n', '编辑表单有国际化', 'webui', '<el-form :model="dataForm" :rules="dataRule" ref="dataForm" :label-width="$i18n.locale === ''en-US'' ? ''140px'' : ''160px''">
<#list editColList as c>
  <#if fieldMap[c.javaField]?? >
      <#assign fieldName = "$t(''common.${c.javaField}'')">
  <#else>
      <#assign fieldName = "$t(''${className}.${c.javaField}'')">
  </#if>
  <el-col :span="${c.optionsLayout}">
      <!-- ${c.comments} -->
      <el-form-item :label="${fieldName}" prop="${c.javaField}">
          <#if c.showType==''select'' >
              <!--下拉框-->
              <el-select v-model="dataForm.${c.javaField}" :placeholder="${fieldName}" clearable>
                  <#if c.dictType?? && c.dictType !='''' >
                      <el-option v-for="template in $getDictList(''${c.dictType}'', true)"
                      :key="template.val"
                      :label="template.label"
                      :value="template.val"></el-option>
                  </#if>
              </el-select>
          <#elseif c.showType==''dateselect'' >
              <!--日期框-->
              <el-date-picker v-model="dataForm.${c.javaField}" value-format="yyyy-MM-dd HH:mm:ss"
              :placeholder="${fieldName}" type="date" ></el-date-picker>
          <#elseif c.showType==''textarea'' >
              <!--文本域-->
              <el-input type="textarea" :rows="3" v-model="dataForm.${c.javaField}"
              :placeholder="${fieldName}"  ></el-input>
          <#elseif c.showType==''radiobox'' >
              <!--单选框-->
              <#if c.dictType?? && c.dictType !='''' >
                  <el-radio-group v-model="dataForm.${c.javaField}">
                      <el-radio v-for="template in $getDictList(''${c.dictType}'', true)"
                      :key="template.val" :label="template.val" >{{template.label}}</el-radio>
                  </el-radio-group>
              <#else>
                   <el-radio v-model="dataForm.${c.javaField}" label="-1">未知</el-radio>
              </#if>
          <#elseif c.showType==''checkbox'' >
              <!--复选框-->
              <#if c.dictType?? && c.dictType !='''' >
                  <<el-checkbox-group v-model="dataForm.${c.javaField}">
                      <el-checkbox v-for="template in $getDictList(''${c.dictType}'', true)"
                      :label="template.val" :key="template.val">{{template.label}}</el-checkbox>
                  </el-checkbox-group>
              <#else>
                   <el-checkbox v-model="dataForm.${c.javaField}" >未知</el-checkbox>
              </#if>
          <#elseif c.showType==''editor'' >
              <!--富文本-->
              <uni-editor v-model="dataForm.${c.javaField}"></uni-editor>
          <#elseif c.showType==''number'' >
              <!--计数器-->
               <el-input-number v-model="dataForm.${c.javaField}" :min="1" :max="50" ></el-input-number>
          <#else>
              <!--文本框-->
              <el-input v-model="dataForm.${c.javaField}"
                  :placeholder="${fieldName}" clearable></el-input>
          </#if>
      </el-form-item>
  </el-col>
</#list>
</el-form>', '', 'admin', '2019-11-13 10:54:10.000', 'admin', '2019-11-13 10:54:10.000');
INSERT INTO gen_code_snippet
(id, snippet_code, snippet_name, snippet_type, snippet_content, snippet_desc, creator, create_date, updater, update_date)
VALUES(1194452383397068801, 'edit_form_imp', '表单公共导入', 'webui', '<#if  validsImp?? && (validsImp?size &gt; 0) >
import {
 <#list validsImp as validImp >
    ${validImp}<#if validImp_has_next>,</#if>
 </#list>
 } from ''@/utils/validate''
</#if>', '', 'admin', '2019-11-13 11:10:15.000', 'admin', '2019-11-13 11:11:08.000');
INSERT INTO gen_code_snippet
(id, snippet_code, snippet_name, snippet_type, snippet_content, snippet_desc, creator, create_date, updater, update_date)
VALUES(1194452548950441985, 'edit_form_computed', '表单公共验证', 'webui', 'computed: {
    dataRule () {
      return {
        <#list editColList as c>
			<#if  c.valids?? && (c.valids?size &gt; 0) >
				${c.javaField}: [
					<#list c.valids as valid>
						<#if valid ==''required'' >
				 			{ required: true, message: this.$t(''validate.required''), trigger: ''blur''}
				 		</#if>
				 		<#if valid ==''email'' >
				 		{ required : ${c.valids?seq_contains("required")?string("true", "false")}, validator: validateEmail, trigger: ''blur'' }
				 		</#if>
				 		<#if valid ==''mobile'' >
				 		{ required : ${c.valids?seq_contains("required")?string("true", "false")}, validator: validateMobile, trigger: ''blur'' }
				 		</#if>
				 		<#if valid ==''phone'' >
				 		{ required : ${c.valids?seq_contains("required")?string("true", "false")}, validator: validatePhone, trigger: ''blur'' }
				 		</#if>
				 		<#if valid ==''url'' >
				 		{ required : ${c.valids?seq_contains("required")?string("true", "false")}, validator: validateUrl, trigger: ''blur'' }
				 		</#if>
				 		<#if valid ==''num'' >
				 		{ required : ${c.valids?seq_contains("required")?string("true", "false")}, validator: validateNum, trigger: ''blur'' }
				 		</#if><#if valid_has_next>,</#if>
				 	</#list>
				 ]<#if c_has_next>,</#if>
			</#if>
        </#list>
      }
    }
  },', '', 'admin', '2019-11-13 11:10:54.000', 'admin', '2019-11-13 11:10:54.000');
INSERT INTO gen_code_snippet
(id, snippet_code, snippet_name, snippet_type, snippet_content, snippet_desc, creator, create_date, updater, update_date)
VALUES(1194453607202701314, 'edit_form_getinfo', '表单公共获取内容', 'webui', ' // 获取信息
    getInfo () {
      	this.$http.get(`/${moduleName}/${className}/${r"${"}this.dataForm.${pkField}${r"}"}`).then(({ data: res }) => {
      	this.loading = false
        if (res.code !== 0) {
          return false
        }
        this.dataForm = {
          ...this.dataForm,
          ...res.data
        }
      }).catch(() => {})
    },', '', 'admin', '2019-11-13 11:15:06.000', 'admin', '2019-11-13 11:15:06.000');
INSERT INTO gen_code_snippet
(id, snippet_code, snippet_name, snippet_type, snippet_content, snippet_desc, creator, create_date, updater, update_date)
VALUES(1196609983999918082, 'tree_tablelist', '树形列表无国际化', 'webui', '<vxe-toolbar :setting="{immediate:true}">
  <template v-slot:buttons>
    <el-button v-if="$hasPermission(''${moduleName}:${className}:save'')" type="primary" @click="addOrUpdateHandle()">{{ $t(''add'') }}</el-button>
  <el-button @click="$refs.xTree.setAllTreeExpansion(true)">{{ $t(''openall'') }}</el-button>
  <el-button @click="$refs.xTree.clearTreeExpand()">{{ $t(''closeall'') }}</el-button>
  </template>
  <template v-slot:tools>
    <el-button icon="el-icon-search" @click="searchShowHandle()" circle></el-button>
    <el-button icon="el-icon-refresh" @click="getTreeDataList()" circle></el-button>
    <el-button icon="el-icon-download" @click="$refs.xTable.openExport()" circle></el-button>
  </template>
</vxe-toolbar>
<vxe-table ref="xTree"
           :loading="dataListLoading"
           auto-resize
            :tree-config="{children: ''children'',trigger:''cell''}"
           :data="dataList">
  <vxe-table-column type="index" width="120" align="left" tree-node></vxe-table-column>
 <#list listColList as c>
    <vxe-table-column field="${c.javaField}" title="${c.comments}" >
        <#if c.dictType?? && c.dictType !='''' >
             <template slot-scope="scope">
                {{$getDictLabel(''${c.dictType}'', scope.row.${c.javaField})}}
             </template>
        </#if>
    </vxe-table-column>
  </#list>
  <vxe-table-column title="handle" fixed="right" >
    <template slot-scope="scope">
    <el-button v-if="$hasPermission(''${moduleName}:${className}:save'')" type="text" size="small" icon="el-icon-plus" @click="addChild(scope.row)">{{ $t(''addChild'') }}</el-button>
      <el-button v-if="$hasPermission(''gen:genTableTemplate:update'')" type="text" size="small" icon="el-icon-edit"  @click="addOrUpdateHandle(scope.row)">{{ $t(''update'') }}</el-button>
      <el-button v-if="$hasPermission(''gen:genTableTemplate:delete'')" type="text" size="small" icon="el-icon-delete" @click="deleteHandle(scope.row.id)">{{ $t(''delete'') }}</el-button>
    </template>
  </vxe-table-column>
</vxe-table>
', '', 'admin', '2019-11-19 10:03:47.000', 'admin', '2019-12-04 19:21:05.000');
INSERT INTO gen_code_snippet
(id, snippet_code, snippet_name, snippet_type, snippet_content, snippet_desc, creator, create_date, updater, update_date)
VALUES(1196673365746663425, 'ui_tree_query_form', '树形列表查询工具', 'webui', '<el-collapse-transition>
    <el-form v-if="searchShow" :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
      <#list queryColList as c>
        <#if c.showType==''select'' >
            <!--下拉框-->
            <el-form-item>
              <el-select v-model="dataForm.${c.javaField}" placeholder="${c.comments}" clearable>
                <#if c.dictType?? && c.dictType !='''' >
                    <el-option v-for="template in $getDictList(''${c.dictType}'', true)"
                    :key="template.val"
                    :label="template.label"
                    :value="template.val"></el-option>
                </#if>
              </el-select>
            </el-form-item>
        <#elseif c.showType==''dateselect'' >
            <!--日期框-->
            <el-form-item>
              <el-date-picker v-model="dataForm.${c.javaField}"
              placeholder="${c.comments}" type="date" ></el-date-picker>
            </el-form-item>
        <#else>
            <!--文本框-->
            <el-form-item>
              <el-input v-model="dataForm.${c.javaField}"
              placeholder="${c.comments}" clearable></el-input>
            </el-form-item>
        </#if>
      </#list>
      <el-form-item>
        <el-button type="primary" @click="getTreeDataList()">{{ $t(''query'') }}</el-button>
        <el-button @click="searchReset()">{{ $t(''reset'') }}</el-button>
      </el-form-item>
    </el-form>
</el-collapse-transition>', '', 'admin', '2019-11-19 14:15:38.000', 'admin', '2019-12-04 18:40:50.000');

INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1, 'entity', '单体通用-数据实体类', 'javafile/web/common/entity.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/entity', '${ClassName}Entity.java', '/**
 * Copyright &copy; 2013-2019 山东易科德软件有限公司
 * All rights reserved.
 */
package ${packageName}.modules.${moduleName}.entity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import ${packageName}.core.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
<#list importList as i>
import ${i};
</#list>
/**
 * ${table.tableNameAndComments}
 * ${functionName}Entity
 * @author ${functionAuthor}
 * @since  ${functionVersion}
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("${tableName}")
public class ${ClassName}Entity extends BaseEntity {
    private static final long serialVersionUID = ${uuid}L;
    <#-- 生成字段属性 -->
     <#list columnList as c>
     <#if c.columnName!= ''id'' && c.columnName!= ''creator'' && c.columnName!= ''create_date''>
    /**
    * <#if c.comments??>${c.comments}</#if>
    */
    <#if c.columnName == ''updater'' || c.columnName == ''update_date''>
    @TableField(fill = FieldFill.INSERT_UPDATE)
    </#if>
    private ${c.simpleJavaType} ${c.simpleJavaField};
    </#if>
   </#list>
}
', NULL, '1', '2019-10-22 15:03:20.000', 'admin', '2019-11-22 10:34:26.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(2, 'dto', '单体通用-页面实体类', 'javafile/web/common/dto.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/dto', '${ClassName}DTO.java', '/**
 * Copyright &copy; 2013-2019 山东易科德软件有限公司
 * All rights reserved.
 */
package ${packageName}.modules.${moduleName}.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
<#list importList as i>
import ${i};
</#list>
/**
 * ${table.tableNameAndComments}
 * ${functionName}DTO
 * @author ${functionAuthor}
 * @since  ${functionVersion}
 */
@Data
@ApiModel(value = "${table.comments}")
public class ${ClassName}DTO implements Serializable {
   private static final long serialVersionUID = 1L;
    <#-- 生成非主键字段属性 -->
    <#list columnList as c>
    /**
    * <#if c.comments??>${c.comments}</#if>
    */
    @ApiModelProperty(value = "${c.comments}")
    private ${c.simpleJavaType} ${c.simpleJavaField};
   </#list>
}', NULL, '1', '2019-10-22 15:03:20.000', 'admin', '2019-11-13 17:10:55.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(3, 'execl', '单体通用-导入导出类', 'javafile/web/common/excel.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/excel', '${ClassName}Excel.java', '/**
 * Copyright &copy; 2013-2019 山东易科德软件有限公司
 * All rights reserved.
 */
package ${packageName}.modules.${moduleName}.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
<#list importList as i>
import ${i};
</#list>
/**
 * ${table.tableNameAndComments}
 * ${functionName}Excel
 * @author ${functionAuthor}
 * @since  ${functionVersion}
 */
@Data
public class ${ClassName}Excel {
   private static final long serialVersionUID = 1L;
  <#-- 生成非主键字段属性 -->
  <#list columnList as c>
    /**
    * <#if c.comments??>${c.comments}</#if>
    */
    @Excel(name = "${c.comments}")
    private ${c.simpleJavaType} ${c.simpleJavaField};
 </#list>
}
', NULL, '1', '2019-10-22 15:03:20.000', 'admin', '2019-11-13 17:11:43.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(4, 'dao', '单体通用-数据操作', 'javafile/web/common/dao.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/dao', '${ClassName}Dao.java', '/**
 * Copyright &copy; 2013-2019 山东易科德软件有限公司
 * All rights reserved.
 */
package ${packageName}.modules.${moduleName}.dao;
import ${packageName}.core.dao.BaseDao;
import ${packageName}.modules.${moduleName}.entity.${ClassName}Entity;
import org.apache.ibatis.annotations.Mapper;
/**
 * ${table.tableNameAndComments}
 * ${functionName}Dao
 * @author ${functionAuthor}
 * @since  ${functionVersion}
 */
@Mapper
public interface ${ClassName}Dao extends BaseDao<${ClassName}Entity> {
}', NULL, '1', '2019-10-22 15:03:20.000', 'admin', '2019-11-13 17:11:07.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(5, 'mapper', '单体通用-数据库操作映射', 'javafile/web/common/daoMapper.xml', 'java', 'src/main/resources/mapper/${moduleName}', '${ClassName}Dao.xml', '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="${packageName}.modules.${moduleName}.dao.${ClassName}Dao">
</mapper>', NULL, '1', '2019-10-22 15:03:20.000', 'admin', '2019-11-13 17:11:16.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(6, 'service', '单体通用-业务逻辑接口', 'javafile/web/common/service.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/service', '${ClassName}Service.java', '/**
 * Copyright &copy; 2013-2019 山东易科德软件有限公司
 * All rights reserved.
 */
package ${packageName}.modules.${moduleName}.service;
import java.util.List;
import ${packageName}.core.service.CrudService;
import ${packageName}.modules.${moduleName}.dto.${ClassName}DTO;
import ${packageName}.modules.${moduleName}.entity.${ClassName}Entity;
/**
 * ${functionName}Service
 * @author ${functionAuthor}
 * @version ${functionVersion}
 */
public interface ${ClassName}Service extends CrudService<${ClassName}Entity, ${ClassName}DTO> {

}
', NULL, '1', '2019-10-22 15:03:20.000', 'admin', '2019-11-13 17:11:53.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(7, 'serviceImpl', '单体通用-业务逻辑实现', 'javafile/web/common/serviceImpl.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/service/impl', '${ClassName}ServiceImpl.java', '/**
 * Copyright &copy; 2013-2019 山东易科德软件有限公司
 * All rights reserved.
 */
package ${packageName}.modules.${moduleName}.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import ${packageName}.core.service.impl.CrudServiceImpl;
import ${packageName}.modules.${moduleName}.dao.${ClassName}Dao;
import ${packageName}.modules.${moduleName}.dto.${ClassName}DTO;
import ${packageName}.modules.${moduleName}.entity.${ClassName}Entity;
import ${packageName}.modules.${moduleName}.service.${ClassName}Service;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import java.util.Map;

/**
 * ${functionName}ServiceImpl
 * @author ${functionAuthor}
 * @version ${functionVersion}
 */
@Service
public class ${ClassName}ServiceImpl extends CrudServiceImpl<${ClassName}Dao, ${ClassName}Entity, ${ClassName}DTO> implements ${ClassName}Service {

    @Override
    public QueryWrapper<${ClassName}Entity> getWrapper(Map<String, Object> params){
    QueryWrapper<${ClassName}Entity> wrapper = new QueryWrapper<>();
    String id = (String)params.get("id");
    wrapper.eq(StringUtils.isNotBlank(id), "id", id);
    <#list columnList as c >
      <#if c.isQuery ==''1'' && c.isPk == ''0'' >
        Object ${(c.simpleJavaField)!}=params.get("${(c.simpleJavaField)!}");
        if(${(c.simpleJavaField)!}!=null){
          wrapper.${(c.queryType)!}(StringUtils.isNotBlank(${(c.simpleJavaField)!}.toString()), "${(c.columnName)!}", ${(c.simpleJavaField)!}.toString());
        }
      </#if>
    </#list>
    return wrapper;
    }
}', NULL, '1', '2019-10-22 15:03:20.000', 'admin', '2019-11-13 17:12:02.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(8, 'controller', '单体通用-接口访问', 'javafile/web/common/controller.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/controller', '${ClassName}Controller.java', '/**
 * Copyright &copy; 2013-2019 山东易科德软件有限公司
 * All rights reserved.
 */
package ${packageName}.modules.${moduleName}.controller;
import ${packageName}.core.annotation.LogOperation;
import ${packageName}.core.constant.Constant;
import ${packageName}.core.page.PageData;
import ${packageName}.core.utils.ExcelUtils;
import ${packageName}.core.utils.Result;
import ${packageName}.core.validator.AssertUtils;
import ${packageName}.core.validator.ValidatorUtils;
import ${packageName}.core.validator.group.AddGroup;
import ${packageName}.core.validator.group.DefaultGroup;
import ${packageName}.core.validator.group.UpdateGroup;
import ${packageName}.modules.${moduleName}.dto.${ClassName}DTO;
import ${packageName}.modules.${moduleName}.excel.${ClassName}Excel;
import ${packageName}.modules.${moduleName}.service.${ClassName}Service;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
/**
 * ${table.tableNameAndComments}
 * ${functionName}Controller
 * @author ${functionAuthor}
 * @since  ${functionVersion}
 */
@RestController
@RequestMapping("${moduleName}/${className}")
@Api(tags="${table.comments}")
public class ${ClassName}Controller {
    @Autowired
    private ${ClassName}Service ${className}Service;
    @GetMapping("page")
    @ApiOperation("分页")
    @ApiImplicitParams({
        @ApiImplicitParam(name = Constant.PAGE, value = "当前页码，从1开始", paramType = "query", required = true, dataType="int") ,
        @ApiImplicitParam(name = Constant.LIMIT, value = "每页显示记录数", paramType = "query",required = true, dataType="int") ,
        @ApiImplicitParam(name = Constant.ORDER_FIELD, value = "排序字段", paramType = "query", dataType="String") ,
        @ApiImplicitParam(name = Constant.ORDER, value = "排序方式，可选值(asc、desc)", paramType = "query", dataType="String")
    })
    @RequiresPermissions("${moduleName}:${className}:page")
    public Result<PageData<${ClassName}DTO>> page(@ApiIgnore @RequestParam Map<String, Object> params){
        PageData<${ClassName}DTO> page = ${className}Service.page(params);
        return new Result<PageData<${ClassName}DTO>>().ok(page);
    }
    @GetMapping("{id}")
    @ApiOperation("信息")
    @RequiresPermissions("${moduleName}:${className}:info")
    public Result<${ClassName}DTO> get(@PathVariable("id") Long id){
        ${ClassName}DTO data = ${className}Service.get(id);
        return new Result<${ClassName}DTO>().ok(data);
    }
    @GetMapping("list")
    @ApiOperation("列表")
    @RequiresPermissions("${moduleName}:${className}:info")
    public Result<List<${ClassName}DTO>> list(@ApiIgnore @RequestParam Map<String, Object> params) {
        List<${ClassName}DTO> list = ${className}Service.list(params);
        return new Result<List<${ClassName}DTO>>().ok(list);
    }

    @PostMapping
    @ApiOperation("保存")
    @LogOperation("保存")
    @RequiresPermissions("${moduleName}:${className}:save")
    public Result save(@RequestBody ${ClassName}DTO dto){
        //效验数据
        ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
        ${className}Service.save(dto);
        return new Result().ok(dto);
    }
    @PutMapping
    @ApiOperation("修改")
    @LogOperation("修改")
    @RequiresPermissions("${moduleName}:${className}:update")
    public Result update(@RequestBody ${ClassName}DTO dto){
        //效验数据
        ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
        ${className}Service.update(dto);
        return new Result().ok(dto);
    }
    @DeleteMapping
    @ApiOperation("删除")
    @LogOperation("删除")
    @RequiresPermissions("${moduleName}:${className}:delete")
    public Result delete(@RequestBody Long[] ids){
        //效验数据
        AssertUtils.isArrayEmpty(ids, "id");
        ${className}Service.delete(ids);
        return new Result();
    }

}', NULL, '1', '2019-10-22 15:03:20.000', 'admin', '2019-11-13 17:11:34.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(9, 'add', '单表弹出框-新增修改', 'uifile/curd/ui-dialog/add-or-update.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${className}-add-or-update.vue', '<template>
  <el-dialog  :visible.sync="visible" :title="!dataForm.${pkField} ? $t(''add'') : $t(''update'')" :close-on-click-modal="false" :close-on-press-escape="false">
    <el-col :span="24">
      <code-snippet id="edit_form" code="edit_form" />
    </el-col>
    <template slot="footer">
      <el-button @click="visible = false">{{ $t(''cancel'') }}</el-button>
      <el-button type="primary" :loading="loading" @click="dataFormSubmitHandle()">{{ $t(''confirm'') }}</el-button>
    </template>
  </el-dialog>
</template>
<script>
import debounce from ''lodash/debounce''
<code-snippet id="edit_form_imp" code="edit_form_imp" />
export default {
  data () {
    return {
      loading: false,
      visible: false,
      dataForm: {
        <#list columnList as c>
        	${c.javaField}:''''<#if c_has_next>,</#if>
        </#list>
      }
    }
  },
  <code-snippet id="edit_form_computed" code="edit_form_computed" />
  methods: {
    init () {
      this.visible = true
      this.$nextTick(() => {
        this.$refs[''dataForm''].resetFields()
        if (this.dataForm.${pkField}) {
          this.loading = true
          this.getInfo()
        }
      })
    },
    <code-snippet id="edit_form_getinfo" code="edit_form_getinfo" />
    // 表单提交
    dataFormSubmitHandle: debounce(function () {
      this.$refs[''dataForm''].validate((valid) => {
        if (!valid) {
          return false
        }
        this.loading = true
        this.$http[!this.dataForm.${pkField} ? ''post'' : ''put''](''/${moduleName}/${className}/'', this.dataForm).then(({ data: res }) => {
          this.loading = false
          if (res.code !== 0) {
            return false
          }
          this.$message({
            message: this.$t(''prompt.success''),
            type: ''success'',
            duration: 500,
            onClose: () => {
              this.visible = false
              this.$emit(''refreshDataList'')
            }
          })
        }).catch(() => {})
      })
    }, 1000, { ''leading'': true, ''trailing'': false })
  }
}
</script>
', NULL, '1', '2019-10-22 15:03:20.000', 'admin', '2019-12-04 18:55:27.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(10, 'index', '单表弹出框-列表', 'uifile/curd/ui-dialog/index.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${className}.vue', '<template>
  <div>
   <el-card shadow="never" class="aui-card--fill" >
    <code-snippet id="queryFormNoI18n" code="ui_query_form" />
    <code-snippet id="tableList" code="tablelist" />
     <!-- 弹窗, 新增 / 修改 -->
     <add-or-update v-if="addOrUpdateVisible" ref="addOrUpdate" @refreshDataList="getDataList"></add-or-update>
   </el-card>
  </div>
</template>
<script>
import mixinViewModule from ''@/mixins/view-module''
import AddOrUpdate from ''./${className}-add-or-update''
export default {
  mixins: [mixinViewModule],
  data () {
	return {
	  searchShow : true,
	  mixinViewModuleOptions: {
		getDataListURL: ''/${moduleName}/${className}/page'',
		getDataListIsPage: true,
		deleteURL: ''/${moduleName}/${className}'',
		deleteIsBatch: true,
		exportURL: ''/${moduleName}/${className}/export''
	  },
	  dataForm: {
		<#list queryColList as c>
			 ${c.javaField}:''''<#if c_has_next>,</#if>
		</#list>
	  }
	}
  },
  components: {
	AddOrUpdate
  },
  methods: {
    // 新增 / 修改
    addOrUpdateHandle (row) {
      let id
      if(row){
        id = row.id
      }
      this.addOrUpdateVisible = true
      this.$nextTick(() => {
        this.$refs.addOrUpdate.dataForm.id = id
        this.$refs.addOrUpdate.init()
      })
    }
  }
}
</script>
', NULL, '1', '2019-10-22 15:03:20.000', 'admin', '2019-12-04 18:48:44.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(11, 'i18n-en', '国际化英文', 'i18n/en-US.xml', 'i18n', 'src/i18n/', 'en-US.js', 't.${className} = {}
<#list columnList as c>
    <#if c.isPk ==''0'' && !fieldMap[c.javaField]?? >
t.${className}.${c.javaField} = ''${c.comments}''
    </#if>
</#list>

export default t', NULL, '1', '2019-10-22 15:03:20.000', 'admin', '2019-11-13 14:23:34.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(12, 'i18n-cn', '国际化-中文简体', 'i18n/zh-CN.xml', 'i18n', 'src/i18n/', 'zh-CN.js', 't.${className} = {}
<#list columnList as c>
    <#if c.isPk ==''0'' && !fieldMap[c.javaField]?? >
t.${className}.${c.javaField} = ''${c.comments}''
    </#if>
</#list>
export default t', NULL, '1', '2019-10-22 15:03:20.000', 'admin', '2019-11-13 14:22:47.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(13, 'i18n-tw', '国际化-中文繁体', 'i18n/zh-TW.xml', 'i18n', 'src/i18n/', 'zh-TW.js', 't.${className} = {}
<#list columnList as c>
    <#if c.isPk ==''0'' && !fieldMap[c.javaField]?? >
t.${className}.${c.javaField} = ''${c.comments}''
    </#if>
</#list>

export default t', NULL, '1', '2019-10-22 15:03:20.000', 'admin', '2019-11-13 14:23:15.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1186937928857743362, 'tab-index', '单表标签页-列表页', 'uifile/curd/ui-tabs/index.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${className}.vue', '<template>
  <div>
    <code-snippet id="ui_query_form" code="ui_query_form" />
    <el-card shadow="never" class="aui-card--fill" :style="searchShow?''margin-top: 10px;'':''''">
    <code-snippet id="tableList" code="tablelist" />
     <!-- 弹窗, 新增 / 修改 -->
     <add-or-update v-if="addOrUpdateVisible" ref="addOrUpdate" @refreshDataList="getDataList"></add-or-update>
   </el-card>
  </div>
</template>
<script>
import mixinViewModule from ''@/mixins/view-module''
export default {
  mixins: [mixinViewModule],
  data () {
	return {
	  searchShow : true,
	  mixinViewModuleOptions: {
		getDataListURL: ''/${moduleName}/${className}/page'',
		getDataListIsPage: true,
		deleteURL: ''/${moduleName}/${className}'',
		deleteIsBatch: true,
		exportURL: ''/${moduleName}/${className}/export''
	  },
	  dataForm: {
		<#list queryColList as c>
			 ${c.javaField}:''''<#if c_has_next>,</#if>
		</#list>
	  }
	}
  },
  methods: {
    // 新增 / 修改
    addOrUpdateHandle (row) {
      let title = ''新增''
      let id
      if (row) {
        title = row.title
        id = row.id
      }
      // 打开路由
      var router = {
        name: ''${moduleName}-${className}-editTab'',
        id: id,
        menuId: this.$route.meta.menuId,
        oldName: ''${moduleName}-${className}'',
        path: ''${moduleName}/${className}-editTab'',
        title: ''编辑${functionName}----''+title
      }
      var params = {
        id: id,
        timestamp: this.$xeutils.timestamp()
      }
      this.$options.methods.openNewTab(this.$router, router, params)
    }
  }
}
</script>
', '', 'admin', '2019-10-23 17:30:29.000', 'admin', '2019-11-19 09:32:50.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1186938061737488385, 'tabs-edit', '单表标签页-编辑页', 'uifile/curd/ui-tabs/editTab.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${className}-editTab.vue', '<template>
  <el-card v-loading="loading">
    <div slot="header" class="clearfix">
      <el-button @click="closeTab()">{{ $t(''cancel'') }}</el-button>
      <el-button type="primary" @click="dataFormSubmitHandle()">{{ $t(''confirm'') }}</el-button>
    </div>
    <el-col :span="24">
     <code-snippet id="edit_form" code="edit_form" />
    </el-col>
  </el-card>
</template>

<script>
import debounce from ''lodash/debounce''
import mainContent from ''@/views/main-content''
<code-snippet id="edit_form_imp" code="edit_form_imp" />
var content = mainContent

export default {
  data () {
    return {
      timestamp: this.$route.params.timestamp,
      loading : false,
      dataForm: {
        <#list columnList as c>
        	<#if c.javaField ==''id'' >
        	 id: this.$route.params.id,
        	<#else>
        	 ${c.javaField}:''''<#if c_has_next>,</#if>
        	</#if>
        </#list>
      }
    }
  },
  <code-snippet id="edit_form_computed" code="edit_form_computed" />
  activated () {
    // 通过路由参数pid, 控制列表请求操作
    if (this.$route.params.timestamp !== this.timestamp) {
      this.$refs[''dataForm''].resetFields()
    }
    if (this.$route.params.${pkField}) {
      this.dataForm.${pkField} = this.$route.params.${pkField}
      this.loading = true
      this.getInfo()
    }
  },
  methods: {
    // 获取信息
    <code-snippet id="edit_form_getinfo" code="edit_form_getinfo" />
    // 关闭 tab
    closeTab () {
      content.methods.tabRemoveHandle(this.$route.name)
    },
    // 表单提交
    dataFormSubmitHandle: debounce(function () {
      this.$refs[''dataForm''].validate((valid) => {
        if (!valid) {
          return false
        }
        this.$http[!this.dataForm.${pkField} ? ''post'' : ''put''](''/${moduleName}/${className}/'', this.dataForm).then(({ data: res }) => {
          if (res.code !== 0) {
            return false
          }
          this.$message({
            message: this.$t(''prompt.success''),
            type: ''success'',
            duration: 500,
            onClose: () => {
              this.closeTab()
              this.$emit(''refreshDataList'')
            }
          })
        }).catch(() => {})
      })
    }, 1000, { ''leading'': true, ''trailing'': false })
  }
}
</script>
', '', 'admin', '2019-10-23 17:31:01.000', 'admin', '2019-11-18 17:56:00.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1186946109465980929, 'tree-serviceImpl', '树表-业务逻辑实现', 'javafile/web/tree/serviceImpl.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/service/impl', '${ClassName}ServiceImpl.java', '/**
 * Copyright &copy; 2013-2019 山东易科德软件有限公司
 * All rights reserved.
 */
package ${packageName}.modules.${moduleName}.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import ${packageName}.core.service.impl.CrudServiceImpl;
import ${packageName}.modules.${moduleName}.dao.${ClassName}Dao;
import ${packageName}.modules.${moduleName}.dto.${ClassName}DTO;
import ${packageName}.modules.${moduleName}.entity.${ClassName}Entity;
import ${packageName}.modules.${moduleName}.service.${ClassName}Service;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import java.util.Map;
/**
 * ${functionName}ServiceImpl
 * @author ${functionAuthor}
 * @version ${functionVersion}
 */
@Service
public class ${ClassName}ServiceImpl extends CrudServiceImpl<${ClassName}Dao, ${ClassName}Entity, ${ClassName}DTO> implements ${ClassName}Service {
    static Long treeRootCode = 0l;

    @Override
    public QueryWrapper<${ClassName}Entity> getWrapper(Map<String, Object> params){
        QueryWrapper<${ClassName}Entity> wrapper = new QueryWrapper<>();
        String id = (String)params.get("id");
        wrapper.eq(StringUtils.isNotBlank(id), "id", id);
        <#list columnList as c>
        	<#if c.isQuery ==''1'' && c.isPk == ''0'' >
			Object ${c.simpleJavaField}=params.get("${c.simpleJavaField}");
			if(${c.simpleJavaField}!=null){
				wrapper.${c.queryType}(StringUtils.isNotBlank(${c.simpleJavaField}.toString()), "${c.columnName}", ${c.simpleJavaField}.toString());
			}
        	</#if>
        </#list>
        Object id_ne = params.get("id_ne");
        if (id_ne != null) {
            wrapper.ne(StringUtils.isNotBlank(id_ne.toString()), "id", id_ne.toString());
        }
        Object pid_ne = params.get("pid_ne");
        if (pid_ne != null) {
            wrapper.notLike(StringUtils.isNotBlank(pid_ne.toString()), "pids", pid_ne.toString());
        }
        wrapper.orderBy(true, true, "sort");

        return wrapper;
    }

        /**
     * @Description:重写保存方法
     * @Param: [dto]
     * @return: void
     * @Author: ${functionAuthor}
     * @Date:
     */
    @Override
    public void save(${ClassName}DTO dto) {
        if (dto.getPid() == null) {
            dto.setPid(treeRootCode);
            dto.setPids(treeRootCode.toString());
            dto.setTreeLevel(treeRootCode.intValue() + 1);
        } else {
            //获取父级节点
            ${ClassName}DTO parent = get(dto.getPid());
            //设置树级别
            dto.setTreeLevel(parent.getTreeLevel() + 1);
            dto.setPids(parent.getPids() + "," + parent.getId().toString());
        }
        super.save(dto);
    }

    /**
     * @Description:重写保存方法
     * @Param: [dto]
     * @return: void
     * @Author: ${functionAuthor}
     * @Date:
     */
    @Override
    public void update(${ClassName}DTO dto) {
        if (dto.getPid() == null) {
            dto.setPid(treeRootCode);
            dto.setPids(treeRootCode.toString());
            dto.setTreeLevel(treeRootCode.intValue() + 1);
        } else {
            if (!dto.getPid().equals(treeRootCode)) {
                //获取修改后的父级节点
                ${ClassName}DTO parent = get(dto.getPid());
                //设置树级别
                dto.setTreeLevel(parent.getTreeLevel() + 1);
                dto.setPids(parent.getPids() + "," + parent.getId().toString());
            } else {
                dto.setTreeLevel(treeRootCode.intValue() + 1);
                dto.setPid(treeRootCode);
                dto.setPids(treeRootCode.toString());
            }
        }
        super.update(dto);
    }

    /**
     * @Description:重写删除方法
     * @Param: [ids]
     * @return: void
     * @Author: ${functionAuthor}
     * @Date:
     */
    @Override
    public void delete(Long[] ids) {
        //重写树表删除 获取第一个id 然后删除本级以及子级
        if (ids.length > 0) {
            Long id = ids[0];
            QueryWrapper<${ClassName}Entity> wrapper = new QueryWrapper<>();
            wrapper.eq("id", id);
            wrapper.or();
            wrapper.like("pids", id.toString());
            this.baseDao.delete(wrapper);
        }
    }


}
', '', 'admin', '2019-10-23 18:03:00.000', 'admin', '2019-11-19 09:34:15.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1186946251833241602, 'tree-index', '树表-列表页', 'uifile/tree/ui/index.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${className}.vue', '<template>
  <div>
     <code-snippet id="ui_tree_query_form" code="ui_tree_query_form" />
    <el-card shadow="never" class="aui-card--fill" :style="searchShow?''margin-top: 10px;'':''''">
    <code-snippet id="tree_tablelist" code="tree_tablelist" />
     <!-- 弹窗, 新增 / 修改 -->
     <add-or-update v-if="addOrUpdateVisible" ref="addOrUpdate" @refreshDataList="getTreeDataList"></add-or-update>
   </el-card>
  </div>
</template>
<script>
import mixinViewModule from ''@/mixins/view-module''
import AddOrUpdate from ''./${className}-add-or-update''
import { treeDataTranslate } from ''@/utils/index''
export default {
  mixins: [mixinViewModule],
  data () {
	return {
	  searchShow: false,
	  mixinViewModuleOptions: {
		getDataListURL: ''/${moduleName}/${className}/list'',
		getDataListIsPage: false,
		deleteURL: ''/${moduleName}/${className}'',
		deleteIsBatch: true,
		exportURL: ''/${moduleName}/${className}/export'',
                getTreeDataListURL: ''/${moduleName}/${className}/list'',
                treeType: true
	  },
	  dataForm: {
		<#list queryColList as c>
			 ${c.javaField}:''''<#if c_has_next>,</#if>
		</#list>
	  }
	}
  },
  components: {
	AddOrUpdate
  },
  methods: {
    // 新增 / 修改
    addOrUpdateHandle (row) {
      let id
      if(row){
         id=row.id
      }
      this.addOrUpdateVisible = true
      this.getTreeCompList(id).then(res => {
        this.$refs.addOrUpdate.parentTreeData = res
        this.$nextTick(() => {
          this.$refs.addOrUpdate.dataForm.id = id
          this.$refs.addOrUpdate.dataForm.pid = ''''
          this.$refs.addOrUpdate.init()
        })
      })
    },
    addChild (row) {
      this.addOrUpdateVisible = true
       this.getTreeCompList().then(res => {
          this.$refs.addOrUpdate.parentTreeData = res
          this.$nextTick(() => {
            this.$refs.addOrUpdate.dataForm.pid = row.id
            this.$refs.addOrUpdate.init()
          })
        })
    },
    // 父级树组件
    getTreeCompList (id) {
      return new Promise(resolve => {
        this.$http.get(
          this.mixinViewModuleOptions.getTreeDataListURL,
          {
            params: {
              id_ne: id,
              pid_ne: id
            }
          }
        ).then(({ data: res }) => {
          if (res.code !== 0) {
            return false
          }
          resolve(treeDataTranslate(res.data, ''id'', ''pid''))
        }).catch(err => {
          return this.$message.error(err)
        })
      })
    }
  }
}
</script>
', '', 'admin', '2019-10-23 18:03:33.000', 'admin', '2019-11-28 16:24:34.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1186946543756800001, 'tree-add', '树表-数据维护', 'uifile/tree/ui/add-or-update.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${className}-add-or-update.vue', '<template>
  <el-dialog  :visible.sync="visible" :title="!dataForm.${pkField} ? $t(''add'') : $t(''update'')" :close-on-click-modal="false" :close-on-press-escape="false">
    <el-col :span="24">
     <code-snippet id="edit_form" code="edit_form" />
    </el-col>
    <template slot="footer">
      <el-button @click="visible = false">{{ $t(''cancel'') }}</el-button>
      <el-button type="primary" :loading="loading" @click="dataFormSubmitHandle()">{{ $t(''confirm'') }}</el-button>
    </template>
  </el-dialog>
</template>

<script>
import debounce from ''lodash/debounce''
import ElTreeSelect from ''@/components/uni-tree-select''
<code-snippet id="edit_form_imp" code="edit_form_imp" />
export default {
  data () {
    return {
      loading: false,
      visible: false,
      styles: {
        width: ''100%''
      },
      parentSelectParams: {
        multiple: false,
        clearable: true,
        placeholder: this.$t(''common.parentCode'')
      },
      parentTreeParams: {
        filterable: false,
        clickParent: true,
        props: {
          children: ''children'',
          label: ''name'',
          value: ''id'',
          disabled: ''disabled''
        }
      },
      parentTreeData: [],
      dataForm: {
        <#list columnList as c>
        	${c.javaField}:''''<#if c_has_next>,</#if>
        </#list>
      }
    }
  },
  <code-snippet id="edit_form_computed" code="edit_form_computed" />
  components: { ElTreeSelect },
  methods: {
    init () {
      this.visible = true
      this.$nextTick(() => {
        if (this.dataForm.${pkField}) {
          this.loading = true
          this.getInfo()
        } else {
          this.$refs[''dataForm''].resetFields()
        }
      })
    },
    // 获取信息
   <code-snippet id="edit_form_getinfo" code="edit_form_getinfo" />
    // 表单提交
    dataFormSubmitHandle: debounce(function () {
      this.$refs[''dataForm''].validate((valid) => {
        if (!valid) {
          return false
        }
        this.loading = true
        this.$http[!this.dataForm.${pkField} ? ''post'' : ''put''](''/${moduleName}/${className}/'', this.dataForm).then(({ data: res }) => {
         this.loading = false
          if (res.code !== 0) {
            return this.$message.error(res.msg)
          }
          this.$message({
            message: this.$t(''prompt.success''),
            type: ''success'',
            duration: 500,
            onClose: () => {
              this.visible = false
              this.$emit(''refreshDataList'')
            }
          })
        }).catch(() => {})
      })
    }, 1000, { ''leading'': true, ''trailing'': false })
  }
}
</script>
', '', 'admin', '2019-10-23 18:04:43.000', 'admin', '2019-12-04 18:54:16.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1187178320828059649, 'bpm-dto', '单体bpm-页面实体类', 'javafile/web/bpm/dto.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/dto', '${ClassName}DTO.java', '/**
 * Copyright &copy; 2013-2019 山东易科德软件有限公司
 * All rights reserved.
 */
package ${packageName}.modules.${moduleName}.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.uniedp.modules.flowable.base.BaseBpmDTO;
import java.io.Serializable;

<#list importList as i>
import ${i};
</#list>
/**
 * ${table.tableNameAndComments}
 * ${functionName}DTO
 * @author ${functionAuthor}
 * @since  ${functionVersion}
 */
@Data
@ApiModel(value = "${table.comments}")
public class ${ClassName}DTO  extends BaseBpmDTO implements Serializable {
    private static final long serialVersionUID = ${uuid}L;
    <#-- 生成非主键字段属性 -->
<#list columnList as c>
    /**
    * <#if c.comments??>${c.comments}</#if>
    */
    <#if c.columnName!= ''id''>
    @ApiModelProperty(value = "${c.comments}")
    private ${c.simpleJavaType} ${c.simpleJavaField};
    </#if>
</#list>
}', '', 'admin', '2019-10-24 09:25:43.000', 'admin', '2019-11-19 14:20:57.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1187178545349152770, 'bpm-service', '单体bpm-业务逻辑接口', 'javafile/web/bpm/service.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/service', '${ClassName}Service.java', '/**
 * Copyright &copy; 2013-2019 山东易科德软件有限公司
 * All rights reserved.
 */
package ${packageName}.modules.${moduleName}.service;
import java.util.List;
import ${packageName}.modules.flowable.base.BaseBpmService;
import ${packageName}.modules.${moduleName}.dto.${ClassName}DTO;
import ${packageName}.modules.${moduleName}.entity.${ClassName}Entity;
/**
 * ${functionName}Service
 * @author ${functionAuthor}
 * @version ${functionVersion}
 */
public interface ${ClassName}Service extends BaseBpmService<${ClassName}Entity, ${ClassName}DTO> {

}', '', 'admin', '2019-10-24 09:26:37.000', 'admin', '2019-11-19 14:21:48.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1187178677712998402, 'bpm-serviceImpl', '单体bpm-业务逻辑实现', 'javafile/web/bpm/serviceImpl.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/service/impl', '${ClassName}ServiceImpl.java', '/**
 * Copyright &copy; 2013-2019 山东易科德软件有限公司
 * All rights reserved.
 */
package ${packageName}.modules.${moduleName}.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import ${packageName}.modules.flowable.base.impl.BaseBpmServiceImpl;
import ${packageName}.modules.${moduleName}.dao.${ClassName}Dao;
import ${packageName}.modules.${moduleName}.dto.${ClassName}DTO;
import ${packageName}.modules.${moduleName}.entity.${ClassName}Entity;
import ${packageName}.modules.${moduleName}.service.${ClassName}Service;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import java.util.Map;
/**
 * ${functionName}ServiceImpl
 * @author ${functionAuthor}
 * @version ${functionVersion}
 */
@Service
public class ${ClassName}ServiceImpl extends BaseBpmServiceImpl<${ClassName}Dao, ${ClassName}Entity, ${ClassName}DTO> implements ${ClassName}Service {

    @Override
    public QueryWrapper<${ClassName}Entity> getWrapper(Map<String, Object> params){
        QueryWrapper<${ClassName}Entity> wrapper = new QueryWrapper<>();
        String id = (String)params.get("id");
        wrapper.eq(StringUtils.isNotBlank(id), "id", id);
        <#list columnList as c>
        	<#if c.isQuery ==''1'' && c.isPk == ''0'' >
			Object ${c.javaField}=params.get("${c.javaField}");
			if(${c.javaField}!=null){
				wrapper.${c.queryType}(StringUtils.isNotBlank(${c.javaField}.toString()), "${c.columnName}", ${c.javaField}.toString());
			}
        	</#if>
        </#list>
        return wrapper;
    }
}', '', 'admin', '2019-10-24 09:27:08.000', 'admin', '2019-11-13 16:11:50.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1187179262231203842, 'bpm-form', '单体bpm-表单', 'uifile/flowable/ui/form.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${className}-flowable-form.vue', '<template>
  <el-card v-loading="loading">
     <div slot="header">
         <el-button v-if="edit" @click="closeTab()">{{ $t(''cancel'') }}</el-button>
         <el-button v-if="edit" type="primary" @click="dataFormSubmitHandle()">{{ $t(''save'') }}</el-button>
         <el-button v-if="edit" type="primary" @click="dataFormApplyHandle()">{{ $t(''submit'') }}</el-button>
    </div>
    <el-col :span="24">
        <code-snippet id="edit_form" code="edit_form" />
    </el-col>
    <approver ref="approver" @approverHandle="approverHandle"></approver>
  </el-card>
</template>

<script>
import debounce from ''lodash/debounce''
import approver from ''@/views/modules/flowable/bpmForm-approver''
<code-snippet id="edit_form_imp" code="edit_form_imp" />
import mainContent from ''@/views/main-content''
var content = mainContent
export default {
  data () {
    return {
      // 允许编辑
      edit: false,
      // 后台api
      url: ''/${moduleName}/${className}'',
      // 定义表ID
      formId: '''',
      timestamp: this.$route.params.timestamp,
      loading: false,
      dataForm: {
        <#list columnList as c>
            <#if c.javaField ==''id'' >
             id: '''',
            <#else>
             ${c.javaField}:''''<#if c_has_next>,</#if>
            </#if>
        </#list>
      }
    }
  },
  components: {
    approver
  },
   <code-snippet id="edit_form_computed" code="edit_form_computed" />
  activated () {
     // 通过路由参数pid, 控制列表请求操作
    if (!this.$route.params.timestamp || this.$route.params.timestamp !== this.timestamp) {
       this.$refs[''dataForm''].resetFields()
    }
    this.edit = this.$route.params.edit
    this.formId = this.$route.params.formId
    if (this.$route.params.bizId) {
      // 设置ID
      this.dataForm.id = this.$route.params.bizId
      // 获取表单数据
      this.getInfo()
    }
    this.dataForm.formId = this.formId
  },
  methods: {
    // 获取信息
   // 获取信息
    getInfo () {
      this.loading = true
      this.$http.get(`${r"${"}this.url${r"}"}/${r"${"}this.dataForm.id${r"}"}`).then(({ data: res }) => {
        this.loading = false
        if (res.code !== 0) {
          return
        }
        this.dataForm = {
          ...this.dataForm,
          ...res.data
        }
        this.dataForm.formId = this.formId
      })
     },
    // 提交申请
    dataFormApplyHandle () {
      this.dataForm.assignees = null
      this.$refs[''dataForm''].validate((valid) => {
        if (!valid) {
          return false
        }
        this.loading = true
        // 保存表单数据
        this.$http[!this.dataForm.id ? ''post'' : ''put''](this.url, this.dataForm).then(({ data: res }) => {
          if (res.code !== 0) {
            // 保存失败
            this.loading = false
            return
          }
          if (!this.dataForm.id) {
            this.dataForm.id = res.data.id
          }
          // 验证审批人
          this.$http[''post''](''/${moduleName}/${className}/startNextTaskInfo'', this.dataForm).then(({ data: res }) => {
            if (res.code !== 0) {
              this.loading = false
              return this.$message.error(res.msg)
            }
            this.dataForm.assignees = res.data
            this.$refs.approver.dataForm.assignees = this.dataForm.assignees
            this.$refs.approver.init()
          })
         })
        this.loading = false
      })
    },
    // 表单提交
    dataFormSubmitHandle: debounce(function () {
      this.$refs[''dataForm''].validate((valid) => {
        if (!valid) {
          return false
        }
        this.$http[!this.dataForm.${pkField} ? ''post'' : ''put''](''/${moduleName}/${className}/'', this.dataForm).then(({ data: res }) => {
          if (res.code !== 0) {
            return this.$message.error(res.msg)
          }
          this.$message({
            message: this.$t(''prompt.success''),
            type: ''success'',
            duration: 500,
            onClose: () => {
              this.closeTab()
              this.$emit(''refreshDataList'')
            }
          })
        }).catch(() => {})
      })
    }, 1000, { ''leading'': true, ''trailing'': false }),
    // 审批人选择回调(提交申请)
    approverHandle () {
      this.loading = true
      this.$http[''post''](`${r"${"}this.url${r"}"}/submit`, this.dataForm).then(({ data: res }) => {
        this.loading = false
        if (res.code !== 0) {
          return
        }
        this.$message({
          message: this.$t(''prompt.success''),
          type: ''success'',
          duration: 500,
          onClose: () => {
            this.closeTab()
            this.$emit(''refreshDataList'')
          }
        })
      }).catch(() => { })
    },
    // 关闭 tab
    closeTab () {
      content.methods.tabRemoveHandle(this.$route.name)
    }
  }
}
</script>', '', 'admin', '2019-10-24 09:29:27.000', 'admin', '2019-11-28 17:25:05.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1187194157332971522, 'bpm-controller', '单体bpm-接口访问', 'javafile/web/bpm/controller.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/controller', '${ClassName}Controller.java', '/**
 * Copyright &copy; 2013-2019 山东易科德软件有限公司
 * All rights reserved.
 */
package ${packageName}.modules.${moduleName}.controller;
import ${packageName}.core.annotation.LogOperation;
import ${packageName}.core.constant.Constant;
import ${packageName}.core.page.PageData;
import ${packageName}.core.utils.ExcelUtils;
import ${packageName}.core.utils.Result;
import ${packageName}.core.validator.AssertUtils;
import ${packageName}.core.validator.ValidatorUtils;
import ${packageName}.core.validator.group.AddGroup;
import ${packageName}.core.validator.group.DefaultGroup;
import ${packageName}.core.validator.group.UpdateGroup;
import ${packageName}.modules.${moduleName}.dto.${ClassName}DTO;
import ${packageName}.modules.${moduleName}.service.${ClassName}Service;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
/**
 * ${table.tableNameAndComments}
 * ${functionName}Controller
 * @author ${functionAuthor}
 * @since  ${functionVersion}
 */
@RestController
@RequestMapping("${moduleName}/${className}")
@Api(tags="${table.comments}")
public class ${ClassName}Controller {
    @Autowired
    private ${ClassName}Service ${className}Service;

    @GetMapping("{id}")
    @ApiOperation("信息")
    @RequiresPermissions("${moduleName}:${className}:form")
    public Result<${ClassName}DTO> get(@PathVariable("id") Long id){
        ${ClassName}DTO data = ${className}Service.get(id);
        return new Result<${ClassName}DTO>().ok(data);
    }

    @PostMapping
    @ApiOperation("保存")
    @LogOperation("保存")
    @RequiresPermissions("${moduleName}:${className}:form")
    public Result save(@RequestBody ${ClassName}DTO dto){
        //效验数据
        ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
        ${className}Service.saveBiz(dto);
        return new Result().ok(dto);
    }

    @PutMapping
    @ApiOperation("修改")
    @LogOperation("修改")
    @RequiresPermissions("${moduleName}:${className}:form")
    public Result update(@RequestBody ${ClassName}DTO dto){
        //效验数据
        ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
        ${className}Service.update(dto);
        return new Result().ok(dto);
    }

    @PostMapping(value = "startNextTaskInfo")
    @ApiOperation("获取审批人")
    @RequiresPermissions("${moduleName}:${className}:form")
    public Result getStartNextTaskInfo(@RequestBody ${ClassName}DTO dto) {
        return new Result().ok(${className}Service.getApprover(dto.getFormId(), dto.getId()));
    }

    @PostMapping("submit")
    @ApiOperation("提交申请")
    @RequiresPermissions("${moduleName}:${className}:form")
    public Result submit(@RequestBody ${ClassName}DTO dto) {
        ${className}Service.apply(dto.getId(), dto.getAssignees());
        return new Result();
    }
}', '', 'admin', '2019-10-24 10:28:39.000', 'admin', '2019-11-19 14:19:39.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1187554106030477313, 'parentEditTable-parent-index', '主子表(可编辑table)-主表列表页', 'uifile/parent/ui-edittable/parentIndex.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${parentclassName}.vue', '<template>
  <div>
    <code-snippet id="ui_query_form" code="ui_query_form" />
    <el-card shadow="never" class="aui-card--fill" :style="searchShow?''margin-top: 10px;'':''''">
     <code-snippet id="tableList" code="tablelist" />
    </el-card>
  </div>
</template>
<script>
import mixinViewModule from ''@/mixins/view-module''
export default {
  mixins: [mixinViewModule],
  data () {
    return {
      mixinViewModuleOptions: {
        getDataListURL: ''/${moduleName}/${parentclassName}/page'',
        getDataListIsPage: true,
        deleteURL: ''/${moduleName}/${parentclassName}'',
        deleteIsBatch: true
      },
      dataForm: {
        <#list columnList as c>
            <#if c.isQuery == ''1'' >
             ${c.javaField}:''''<#if c_has_next>,</#if>
            </#if>
        </#list>
      }
    }
  },
  methods: {
    // 新增 / 修改
    addOrUpdateHandle (row) {
      let title = ''新增''
      let id
      if (row) {
        title = row.id
        id = row.id
      }
      // 打开路由
      var router = {
        name: ''${moduleName}-${parentclassName}-editForm'',
        id: '''',
        menuId: this.$route.meta.menuId,
        oldName: ''${moduleName}-${className}'',
        path: ''${moduleName}/${className}-editForm'',
        title: ''编辑${functionName}''+title
      }
      var params = {
        timestamp: this.$xeutils.timestamp(),
        ${pkField} : id
      }
      this.$options.methods.openNewTab(this.$router, router, params)
    }
  }
}
</script>', '', 'admin', '2019-10-25 10:18:57.000', 'admin', '2019-11-22 14:45:33.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1187554313786937345, 'parentEditTable-parent-editForm', '主子表(可编辑table)-主表编辑表单', 'uifile/parent/ui-edittable/parent-editForm.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${className}-editForm.vue', '<template>
<div v-loading="loading">
  <el-card>
    <el-col>
        <el-button size="small" type="primary" @click="dataFormSubmitHandle()">{{ $t(''save'') }}</el-button>
        <el-button size="small" @click="closeTab()">{{ $t(''close'') }}</el-button>
      </el-col>
    <el-col :span="24">
    <el-form :model="dataForm" :rules="dataRule" ref="dataForm" :label-width="$i18n.locale === ''en-US'' ? ''120px'' : ''80px''">
        <el-tabs v-model="activeName">
         <#assign tabIndex =1 >
         <#if (editColList?size &lt; 4) >
            <el-tab-pane label="标签${tabIndex}" name="${tabIndex}">
         </#if>
        <#list editColList as c>
            <#assign fieldName = c.comments>
            <#if (c_index/4)+1 == tabIndex >
            <el-tab-pane label="标签${tabIndex}" name="${tabIndex}">
            </#if>
            <el-col :span="${c.optionsLayout}">
                <!-- ${c.comments} -->
                <el-form-item label="${fieldName}" prop="${c.javaField}">
                    <#if c.showType==''select'' >
                        <!--下拉框-->
                        <el-select v-model="dataForm.${c.javaField}" placeholder="${fieldName}" clearable>
                            <#if c.dictType?? && c.dictType !='''' >
                                <el-option v-for="template in $getDictList(''${c.dictType}'', true)"
                                :key="template.val"
                                :label="template.label"
                                :value="template.val"></el-option>
                            </#if>
                        </el-select>
                    <#elseif c.showType==''dateselect'' >
                        <!--日期框-->
                        <el-date-picker v-model="dataForm.${c.javaField}" value-format="yyyy-MM-dd HH:mm:ss"
                        placeholder="${fieldName}" type="date" ></el-date-picker>
                    <#elseif c.showType==''textarea'' >
                        <!--文本域-->
                        <el-input type="textarea" :rows="3" v-model="dataForm.${c.javaField}"
                        placeholder="${fieldName}"  ></el-input>
                    <#elseif c.showType==''radiobox'' >
                        <!--单选框-->
                        <#if c.dictType?? && c.dictType !='''' >
                            <el-radio-group v-model="dataForm.${c.javaField}">
                                <el-radio v-for="template in $getDictList(''${c.dictType}'', true)"
                                :key="template.val" :label="template.val" >{{template.label}}</el-radio>
                            </el-radio-group>
                        <#else>
                             <el-radio v-model="dataForm.${c.javaField}" label="-1">未知</el-radio>
                        </#if>
                    <#elseif c.showType==''checkbox'' >
                        <!--复选框-->
                        <#if c.dictType?? && c.dictType !='''' >
                            <<el-checkbox-group v-model="dataForm.${c.javaField}">
                                <el-checkbox v-for="template in $getDictList(''${c.dictType}'', true)"
                                :label="template.val" :key="template.val">{{template.label}}</el-checkbox>
                            </el-checkbox-group>
                        <#else>
                             <el-checkbox v-model="dataForm.${c.javaField}" >未知</el-checkbox>
                        </#if>
                    <#elseif c.showType==''editor'' >
                        <!--富文本-->
                        <uni-editor v-model="dataForm.${c.javaField}"></uni-editor>
                    <#elseif c.showType==''number'' >
                        <!--计数器-->
                         <el-input-number v-model="dataForm.${c.javaField}" :min="1" :max="50" ></el-input-number>
                    <#else>
                        <!--文本框-->
                        <el-input v-model="dataForm.${c.javaField}"
                            placeholder="${fieldName}" clearable></el-input>
                    </#if>
                </el-form-item>
            </el-col>
            <#if ((c_index+1)/4) == tabIndex || !c_has_next >
                </el-tab-pane>
                <#assign tabIndex = tabIndex+1 >
            </#if>
        </#list>
        <#if (editColList?size &lt; 4) >
            </el-tab-pane>
        </#if>
        </el-tabs>
    </el-form>
    </el-col>
  </el-card>
  <child-list ref="childList"></child-list>
  </div>
</template>

<script>
import debounce from ''lodash/debounce''
import mainContent from ''@/views/main-content''
<code-snippet id="edit_form_imp" code="edit_form_imp" />
import ChildList from ''./${childclassName}-child''
var content = mainContent

export default {
  data () {
    return {
      timestamp: this.$route.params.timestamp,
      loading : false,
      activeName: ''1'',
      dataForm: {
        children: [],
        deltList: [],
        <#list columnList as c>
            <#if c.isPk ==''1'' >
             ${c.javaField}: this.$route.params.${c.javaField},
            <#else>
             ${c.javaField}:''''<#if c_has_next>,</#if>
            </#if>
        </#list>
      }
    }
  },
  <code-snippet id="edit_form_computed" code="edit_form_computed" />
  activated () {
    // 通过路由参数pid, 控制列表请求操作
    if (this.$route.params.timestamp !== this.timestamp) {
      this.$refs[''dataForm''].resetFields()
    }
    if (this.$route.params.${pkField}) {
      this.dataForm.${pkField} = this.$route.params.${pkField}
      this.loading = true
      this.getInfo()
    }
  },
  components: {
    ChildList
  },
  methods: {
    // 刷新子列表
    refreshChildList () {
      if (this.dataForm.${pkField}) {
        this.$refs.childList.dataForm.${childField} = this.dataForm.${pkField}
        this.$refs.childList.getDataList()
      }
    },
    // 获取信息
    getInfo () {
        this.$http.get(`/${moduleName}/${parentclassName}/${r"${"}this.dataForm.${pkField}${r"}"}`).then(({ data: res }) => {
        this.loading = false
        if (res.code !== 0) {
          return false
        }
        this.dataForm = {
          ...this.dataForm,
          ...res.data
        }
        this.refreshChildList()
      }).catch(() => {})
    },
    // 关闭 tab
    closeTab () {
      content.methods.tabRemoveHandle(this.$route.name)
      this.$emit(''refreshDataList'')
    },
    // 表单提交
    dataFormSubmitHandle: debounce(function () {
      this.$refs[''dataForm''].validate((valid) => {
        if (!valid) {
            this.$message({
                message: this.$t(''prompt.valid''),
                type: ''error'',
                duration: 1500
            })
          return false
        }
        let child = this.$refs.childList
        if (child.getAllData().length <= 0) {
          this.$message({
            message: this.$t(''prompt.children''),
            type: ''error'',
            duration: 500
          })
          return false
        }
  // 子表验证
    child.fullValidEvent().then(res => {
      this.dataForm.children = child.getAllData()
      this.dataForm.deltList = child.deltList
      this.$http[!this.dataForm.${pkField} ? ''post'' : ''put''](''/${moduleName}/${parentclassName}/'', this.dataForm).then(({ data: res }) => {
          if (res.code !== 0) {
            return false
          }
          this.$message({
            message: this.$t(''prompt.success''),
            type: ''success'',
            duration: 500,
            onClose: () => {
                this.closeTab()
            }
          })
      })
    })
  })
    }, 1000, { ''leading'': true, ''trailing'': false })
  }
}
</script>
', '', 'admin', '2019-10-25 10:19:47.000', 'admin', '2019-11-22 14:51:16.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1187554522323537921, 'parentEditTable-child-index', '主子表(可编辑table)-子表可编辑table', 'uifile/parent/ui-edittable/child-index.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${childclassName}-child.vue', '<template>
  <div>
    <el-card shadow="never" class="aui-card--fill" :style="searchShow?''margin-top: 10px;'':''''">
      <el-col>
        <el-button size="small" type="primary" @click="addRow()">{{ $t(''add'') }}</el-button>
      </el-col>
      <el-col :style="''margin-top: 10px;''">
        <div class="mod-${moduleName}__${childclassName}">
          <vxe-table ref="editable"
                      v-loading="loading"
                      :data="dataList"
                      class="vxe-table-element"
                      border
                      max-height="350"
                      :edit-config="{trigger: ''click'', mode: ''row'' }"
                      :edit-rules="dataRule"
                      style="width: 100%;">
                <vxe-table-column  type="index" fixed="left" width="50"></vxe-table-column>
                <#list childFileds.editColList as c>
                     <#assign fieldName = c.comments>
                    <!-- ${c.comments} -->
                    <#if c.showType==''select'' >
                    <!--下拉框-->
                    <vxe-table-column field="${c.javaField}" title="${fieldName}"
                        :edit-render="{name: ''ElSelect'',
                         options:$getDictList(''${c.dictType}'', true),
                         optionProps:{value: ''val'', label: ''label'' } }" >
                    <#elseif c.showType==''dateselect'' >
                    <!--日期框-->
                    <vxe-table-column field="${c.javaField}" title="${fieldName}"
                        :edit-render="{name: ''ElDatePicker'',
                        props: {type: ''date'',valueFormat:''yyyy-MM-dd HH:mm:ss'',format: ''yyyy-MM-dd''}}" >
                    <#elseif c.showType==''switch'' >
                    <!--开关单选-->
                    <vxe-table-column field="${c.javaField}" title="${fieldName}"
                         :edit-render="{name: ''ElSwitch'',autofocus:false, type: ''visible''}" >
                    <#elseif c.showType==''number'' >
                    <!--计数器-->
                    <vxe-table-column field="${c.javaField}" title="${fieldName}"
                         :edit-render="{name: ''ElInputNumber'',autofocus:false,props: {min: 1,max:50} }" >
                    <#else>
                    <!--文本框-->
                    <vxe-table-column field="${c.javaField}" title="${fieldName}"
                         :edit-render="{name: ''ElInput'',autofocus:false}" >
                    </#if>
                    </vxe-table-column>
                </#list>
            <vxe-table-column title="handle"  header-align="center" align="center" width="150">
              <template slot-scope="scope">
                <el-button  type="text" size="small" @click="deltRow(scope.row)">{{ $t(''delete'') }}</el-button>
              </template>
            </vxe-table-column>
          </vxe-table>
        </div>
        </el-col>
    </el-card>
  </div>
</template>
<script>
import mixinViewModule from ''@/mixins/view-module''
<#if  childFileds.validsImp?? && (childFileds.validsImp?size &gt; 0) >
import {
 <#list childFileds.validsImp as validImp >
    ${validImp}<#if validImp_has_next>,</#if>
 </#list>
 } from ''@/utils/validate''
</#if>

export default {
  mixins: [mixinViewModule],
  data () {
    return {
      mixinViewModuleOptions: {
        activatedIsNeed: false,
        getDataListURL: ''/${moduleName}/${childclassName}/list'',
        getDataListIsPage: false,
        deleteURL: ''/${moduleName}/${childclassName}'',
        deleteIsBatch: false
      },
      dataForm: {
         <#list childFileds.columnList as c>
            <#if c.showType ==''switch'' >
             ${c.javaField}: false,
            <#else>
             ${c.javaField}:''''<#if c_has_next>,</#if>
            </#if>
        </#list>
      },
      deltList: [],
dataRule: {
        <#list childFileds.editColList as c>
            <#if c.valids?? && (c.valids?size &gt; 0) >
                ${c.javaField}: [
                    <#list c.valids as valid>
                        <#if valid ==''required'' >
                        { required: true, message: this.$t(''validate.required''), trigger: ''blur''}
                        <#elseif valid ==''email'' >
                        { required : ${c.valids?seq_contains("required")?string("true", "false")}, validator: validateEmail, trigger: ''blur'' }
                        <#elseif valid ==''mobile'' >
                        { required : ${c.valids?seq_contains("required")?string("true", "false")}, validator: validateMobile, trigger: ''blur'' }
                        <#elseif valid ==''phone'' >
                        { required : ${c.valids?seq_contains("required")?string("true", "false")}, validator: validatePhone, trigger: ''blur'' }
                        <#elseif valid ==''url'' >
                        { required : ${c.valids?seq_contains("required")?string("true", "false")}, validator: validateUrl, trigger: ''blur'' }
                        <#elseif valid ==''num'' >
                        { required : ${c.valids?seq_contains("required")?string("true", "false")}, validator: validateNum, trigger: ''blur'' }
                        </#if><#if valid_has_next>,</#if>
                    </#list>
                 ]<#if c_has_next>,</#if>
            </#if>
        </#list>
      }
    }
  },
  methods: {
     // 新增
    addRow () {
      // 默认插入一行 可以设置插入数据的默认值 自行处理
      this.$refs.editable.insertAt(this.dataForm).then(row => {
        // 设置插入行的可编辑状态
        this.$refs.editable.setActiveRow(row)
      })
    },
  getAllData () {
      return this.$refs.editable.getTableData().tableData
    },
      // 删除row
    deltRow (rowData) {
      // 主键是否为空
      if (rowData.id) {
        // 不为空将 row 移到 deltList
        this.deltList.push(rowData)
        // 移除行
        this.$refs.editable.remove(rowData)
      } else {
        this.$refs.editable.remove(rowData)
      }
    },
    fullValidEvent () {
      return new Promise((resolve, reject) => {
        this.$refs.editable.fullValidate((valid, errMap) => {
          if (valid) {
            resolve(true)
          } else {
            this.$message.error(''数据填写不合法'')
          }
        })
      })
    }
  }
}
</script>
', '', 'admin', '2019-10-25 10:20:36.000', 'admin', '2019-11-22 14:59:26.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1187554777186226178, 'parent-child-controller', '主子表(一体事务)-子表接口访问', 'javafile/web/common/child-controller.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/controller', '${childClassName}Controller.java', '/**
     * Copyright &copy; 2013-2019 山东易科德软件有限公司
     * All rights reserved.
     */
    package ${packageName}.modules.${moduleName}.controller;
    import ${packageName}.core.annotation.LogOperation;
    import ${packageName}.core.constant.Constant;
    import ${packageName}.core.page.PageData;
    import ${packageName}.core.utils.ExcelUtils;
    import ${packageName}.core.utils.Result;
    import ${packageName}.core.validator.AssertUtils;
    import ${packageName}.core.validator.ValidatorUtils;
    import ${packageName}.core.validator.group.AddGroup;
    import ${packageName}.core.validator.group.DefaultGroup;
    import ${packageName}.core.validator.group.UpdateGroup;
    import ${packageName}.modules.${moduleName}.dto.${childClassName}DTO;
    import ${packageName}.modules.${moduleName}.excel.${childClassName}Excel;
    import ${packageName}.modules.${moduleName}.service.${childClassName}Service;
    import io.swagger.annotations.Api;
    import io.swagger.annotations.ApiImplicitParam;
    import io.swagger.annotations.ApiImplicitParams;
    import io.swagger.annotations.ApiOperation;
    import org.springframework.beans.factory.annotation.Autowired;
    import org.springframework.web.bind.annotation.*;
    import springfox.documentation.annotations.ApiIgnore;

    import javax.servlet.http.HttpServletResponse;
    import java.util.List;
    import java.util.Map;
    /**
     * ${table.tableNameAndComments}
     * ${functionName}Controller
     * @author ${functionAuthor}
     * @since  ${functionVersion}
     */
    @RestController
    @RequestMapping("${moduleName}/${childclassName}")
    @Api(tags="${table.comments}")
    public class ${childClassName}Controller {
        @Autowired
        private ${childClassName}Service ${childclassName}Service;

        @GetMapping("page")
        @ApiOperation("分页")
        @ApiImplicitParams({
            @ApiImplicitParam(name = Constant.PAGE, value = "当前页码，从1开始", paramType = "query", required = true, dataType="int") ,
            @ApiImplicitParam(name = Constant.LIMIT, value = "每页显示记录数", paramType = "query",required = true, dataType="int") ,
            @ApiImplicitParam(name = Constant.ORDER_FIELD, value = "排序字段", paramType = "query", dataType="String") ,
            @ApiImplicitParam(name = Constant.ORDER, value = "排序方式，可选值(asc、desc)", paramType = "query", dataType="String")
        })
        public Result<PageData<${childClassName}DTO>> page(@ApiIgnore @RequestParam Map<String, Object> params){
            PageData<${childClassName}DTO> page = ${childclassName}Service.page(params);
            return new Result<PageData<${childClassName}DTO>>().ok(page);
        }

        @GetMapping("{id}")
        @ApiOperation("信息")
        public Result<${childClassName}DTO> get(@PathVariable("id") Long id){
            ${childClassName}DTO data = ${childclassName}Service.get(id);
            return new Result<${childClassName}DTO>().ok(data);
        }

        @GetMapping("list")
        @ApiOperation("列表")
        public Result<List<${childClassName}DTO>> list(@ApiIgnore @RequestParam Map<String, Object> params) {
            List<${childClassName}DTO> list = ${childclassName}Service.list(params);
            return new Result<List<${childClassName}DTO>>().ok(list);
        }

        @PostMapping
        @ApiOperation("保存")
        @LogOperation("保存")
        public Result save(@RequestBody ${childClassName}DTO dto){
            //效验数据
            ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
            ${childclassName}Service.save(dto);
            return new Result().ok(dto);
        }

        @PutMapping
        @ApiOperation("修改")
        @LogOperation("修改")
        public Result update(@RequestBody ${childClassName}DTO dto){
            //效验数据
            ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
            ${childclassName}Service.update(dto);
            return new Result().ok(dto);
        }

        @DeleteMapping
        @ApiOperation("删除")
        @LogOperation("删除")
        public Result delete(@RequestBody Long[] ids){
            //效验数据
            AssertUtils.isArrayEmpty(ids, "id");
            ${childclassName}Service.delete(ids);
            return new Result();
        }

    }', '', 'admin', '2019-10-25 10:21:37.000', 'admin', '2019-11-21 16:10:12.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1187555068153483265, 'parent-child-service', '主子表(一体事务)-子表业务逻辑接口', 'javafile/web/common/child-service.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/service', '${childClassName}Service.java', '/**
 * Copyright &copy; 2013-2019 山东易科德软件有限公司
 * All rights reserved.
 */
package ${packageName}.modules.${moduleName}.service;
import java.util.List;
import ${packageName}.core.service.CrudService;
import ${packageName}.modules.${moduleName}.dto.${childClassName}DTO;
import ${packageName}.modules.${moduleName}.entity.${childClassName}Entity;


/**
 * ${functionName}Service
 * @author ${functionAuthor}
 * @version ${functionVersion}
 */
public interface ${childClassName}Service extends CrudService<${childClassName}Entity, ${childClassName}DTO> {
     /**
     * @Description: 根据主表ID 删除子表相关数据
     * @Param: [ids]
     * @return: void
     * @Author: ${functionAuthor}
     * @Date: ${functionVersion}
     */
     public void deltByParentIds(Long[] ids);
}
', '', 'admin', '2019-10-25 10:22:47.000', 'admin', '2019-11-21 16:06:15.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1187555236714172418, 'parent-child-serviceImpl', '主子表(一体事务)-子表业务逻辑实现', 'javafile/web/common/child-serviceImpl.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/service/impl', '${childClassName}ServiceImpl.java', '/**
 * Copyright &copy; 2013-2019 山东易科德软件有限公司
 * All rights reserved.
 */
package ${packageName}.modules.${moduleName}.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import ${packageName}.core.service.impl.CrudServiceImpl;
import ${packageName}.modules.${moduleName}.dao.${childClassName}Dao;
import ${packageName}.modules.${moduleName}.dto.${childClassName}DTO;
import ${packageName}.modules.${moduleName}.entity.${childClassName}Entity;
import ${packageName}.modules.${moduleName}.service.${childClassName}Service;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;

import java.util.Map;


/**
 * ${functionName}ServiceImpl
 * @author ${functionAuthor}
 * @version ${functionVersion}
 */
@Service
public class ${childClassName}ServiceImpl extends CrudServiceImpl<${childClassName}Dao, ${childClassName}Entity, ${childClassName}DTO> implements ${childClassName}Service {

    @Override
    public QueryWrapper<${childClassName}Entity> getWrapper(Map<String, Object> params){

        QueryWrapper<${childClassName}Entity> wrapper = new QueryWrapper<>();
        String id = (String)params.get("id");
        wrapper.eq(StringUtils.isNotBlank(id), "id", id);
        <#list childFileds.columnList as c>
        	<#if c.isQuery ==''1'' && c.isPk == ''0'' >
			Object ${c.simpleJavaField}=params.get("${c.simpleJavaField}");
			if(${c.simpleJavaField}!=null){
				wrapper.${c.queryType}(StringUtils.isNotBlank(${c.simpleJavaField}.toString()), "${c.columnName}", ${c.simpleJavaField}.toString());
			}
        	</#if>
        </#list>

        return wrapper;
    }

    /**
     * @Description: 根据主表ID 删除子表相关数据
     * @Param: [ids]
     * @return: void
     * @Author: ${functionAuthor}
     * @Date: ${functionVersion}
     */
    @Override
    public void deltByParentIds(Long[] ids) {
        QueryWrapper<${childClassName}Entity> wrapper = new QueryWrapper<>();
        wrapper.in("parent_id", ids);
        this.baseDao.delete(wrapper);
    }

}', '', 'admin', '2019-10-25 10:23:27.000', 'admin', '2019-11-21 15:44:15.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1187558260744441857, 'parent-parent-dto', '主子表(一体事务)-主表页面实体类', 'javafile/web/common/parent-dto.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/dto', '${parentClassName}DTO.java', '/**
 * Copyright &copy; 2013-2019 山东易科德软件有限公司
 * All rights reserved.
 */
package ${packageName}.modules.${moduleName}.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import ${packageName}.modules.${moduleName}.dto.${childClassName}DTO ;


import java.io.Serializable;

import java.util.List;
<#list importList as i>
import ${i};
</#list>

/**
 * ${table.tableNameAndComments}
 * ${functionName}DTO
 * @author ${functionAuthor}
 * @since  ${functionVersion}
 */
@Data
@ApiModel(value = "${table.comments}")
public class ${parentClassName}DTO implements Serializable {
	private static final long serialVersionUID = 1L;

    <#-- 生成非主键字段属性 -->
	<#list columnList as c>
    /**
    * <#if c.comments??>${c.comments}</#if>
    */
    @ApiModelProperty(value = "${c.comments}")
    private ${c.simpleJavaType} ${c.simpleJavaField};
	</#list>
	/**
     * 子表信息集合
     */
    @ApiModelProperty(value = "子表信息集合")
    private List<${childClassName}DTO> children;

    /**
     * 删除子表信息集合
     */
    @ApiModelProperty(value = "删除子表信息集合")
    private List<${childClassName}DTO> deltList;
}', '', 'admin', '2019-10-25 10:35:28.000', 'admin', '2019-11-21 15:36:25.000');
INSERT INTO gen_table_template
(id, template_code, template_name, template_file, app_type, file_path, file_name, file_content, remark, creator, create_date, updater, update_date)
VALUES(1187558421222707202, 'parent-parent-serviceImpl', '主子表(一体事务)-主表业务逻辑实现', 'javafile/web/common/parent-serviceImpl.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/service/impl', '${parentClassName}ServiceImpl.java', '/**
 * Copyright &copy; 2013-2019 山东易科德软件有限公司
 * All rights reserved.
 */
package ${packageName}.modules.${moduleName}.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import ${packageName}.core.service.impl.CrudServiceImpl;
import ${packageName}.modules.${moduleName}.dao.${parentClassName}Dao;
import ${packageName}.modules.${moduleName}.dto.${parentClassName}DTO;
import ${packageName}.modules.${moduleName}.entity.${parentClassName}Entity;
import ${packageName}.modules.${moduleName}.service.${parentClassName}Service;
import ${packageName}.modules.${moduleName}.dto.${childClassName}DTO;
import ${packageName}.modules.${moduleName}.service.${childClassName}Service;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.util.Map;


/**
 * ${functionName}ServiceImpl
 * @author ${functionAuthor}
 * @version ${functionVersion}
 */
@Service
public class ${parentClassName}ServiceImpl extends CrudServiceImpl<${parentClassName}Dao, ${parentClassName}Entity, ${parentClassName}DTO> implements ${parentClassName}Service {
    @Resource
    ${childClassName}Service ${childclassName}Service;

    @Override
    public QueryWrapper<${parentClassName}Entity> getWrapper(Map<String, Object> params){

        QueryWrapper<${parentClassName}Entity> wrapper = new QueryWrapper<>();
        String id = (String)params.get("id");
        wrapper.eq(StringUtils.isNotBlank(id), "id", id);
        <#list columnList as c>
        	<#if c.isQuery ==''1'' && c.isPk == ''0'' >
			Object ${c.simpleJavaField}=params.get("${c.simpleJavaField}");
			if(${c.simpleJavaField}!=null){
				wrapper.${c.queryType}(StringUtils.isNotBlank(${c.simpleJavaField}.toString()), "${c.columnName}", ${c.simpleJavaField}.toString());
			}
        	</#if>
        </#list>

        return wrapper;
    }

    /**
     * @Description: 重写主表保存
     * @Param: [ids]
     * @return: void
     * @Author: ${functionAuthor}
     * @Date: ${functionVersion}
     */
    @Override
    @Transactional
    public void save(${parentClassName}DTO dto) {
        super.save(dto);
        for (${childClassName}DTO child : dto.getChildren()) {
            child.setParentId(dto.getId());
            ${childclassName}Service.save(child);
        }
    }
    /**
     * @Description: 重写主表修改
     * @Param: [ids]
     * @return: void
     * @Author: ${functionAuthor}
     * @Date: ${functionVersion}
     */
    @Override
    @Transactional
    public void update(${parentClassName}DTO dto) {
        super.update(dto);
        //先 删除子表
        for (${childClassName}DTO child : dto.getDeltList()) {
            ${childclassName}Service.deleteById(child.getId());
        }
        //二 新增子表
        for (${childClassName}DTO child : dto.getChildren()) {
            if (child.getId() == null) {
                child.setParentId(dto.getId());
                ${childclassName}Service.save(child);
            }
        }
        //三 修改子表
        for (${childClassName}DTO child : dto.getChildren()) {
            if (child.getId() != null) {
                ${childclassName}Service.update(child);
            }
        }
    }

    /**
     * @Description: 重写主表删除
     * @Param: [ids]
     * @return: void
     * @Author: ${functionAuthor}
     * @Date: ${functionVersion}
     */
    @Override
    @Transactional
    public void delete(Long[] ids) {
        super.delete(ids);
        ${childclassName}Service.deltByParentIds(ids);
    }

}', '', 'admin', '2019-10-25 10:36:06.000', 'admin', '2019-11-21 17:04:26.000');

INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935030002262018, 'entity', '数据实体类', 'crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2019-10-23 17:18:58.000', 'admin', '2019-10-23 17:18:58.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935030371360770, 'dto', '页面实体类', 'crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2019-10-23 17:18:58.000', 'admin', '2019-10-23 17:18:58.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935030702710785, 'execl', '导入导出类', 'crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2019-10-23 17:18:58.000', 'admin', '2019-10-23 17:18:58.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935031021477890, 'dao', '数据操作', 'crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2019-10-23 17:18:58.000', 'admin', '2019-10-23 17:18:58.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935031357022209, 'mapper', '数据库操作映射', 'crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2019-10-23 17:18:58.000', 'admin', '2019-10-23 17:18:58.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935031696760834, 'service', '业务逻辑接口', 'crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2019-10-23 17:18:58.000', 'admin', '2019-10-23 17:18:58.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935032011333634, 'serviceImpl', '业务逻辑实现', 'crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2019-10-23 17:18:58.000', 'admin', '2019-10-23 17:18:58.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935032351072258, 'controller', '接口访问', 'crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2019-10-23 17:18:59.000', 'admin', '2019-10-23 17:18:59.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935032665645057, 'add', '前台-新增修改', 'crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2019-10-23 17:18:59.000', 'admin', '2019-10-23 17:18:59.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935032984412161, 'index', '前台-列表', 'crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2019-10-23 17:18:59.000', 'admin', '2019-10-23 17:18:59.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935897589850113, 'entity', '数据实体类', 'crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2019-10-23 17:22:25.000', 'admin', '2019-10-23 17:22:25.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935897908617217, 'dto', '页面实体类', 'crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2019-10-23 17:22:25.000', 'admin', '2019-10-23 17:22:25.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935898223190017, 'execl', '导入导出类', 'crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2019-10-23 17:22:25.000', 'admin', '2019-10-23 17:22:25.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935898554540033, 'dao', '数据操作', 'crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2019-10-23 17:22:25.000', 'admin', '2019-10-23 17:22:25.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935898860724225, 'mapper', '数据库操作映射', 'crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2019-10-23 17:22:25.000', 'admin', '2019-10-23 17:22:25.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935899196268546, 'service', '业务逻辑接口', 'crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2019-10-23 17:22:25.000', 'admin', '2019-10-23 17:22:25.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935899519229953, 'serviceImpl', '业务逻辑实现', 'crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2019-10-23 17:22:25.000', 'admin', '2019-10-23 17:22:25.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186935899829608450, 'controller', '接口访问', 'crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2019-10-23 17:22:25.000', 'admin', '2019-10-23 17:22:25.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186938196110405634, 'tab-index', '标签页-列表页页面', 'crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2019-10-23 17:31:33.000', 'admin', '2019-10-23 17:31:33.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186938196395618306, 'tabs-edit', '标签页-编辑页', 'crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2019-10-23 17:31:33.000', 'admin', '2019-10-23 17:31:33.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186946875543023617, 'entity', '数据实体类', 'crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2019-10-23 18:06:02.000', 'admin', '2019-10-23 18:06:02.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186946875878567938, 'dto', '页面实体类', 'crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2019-10-23 18:06:02.000', 'admin', '2019-10-23 18:06:02.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186946876184752129, 'execl', '导入导出类', 'crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2019-10-23 18:06:02.000', 'admin', '2019-10-23 18:06:02.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186946876495130625, 'dao', '数据操作', 'crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2019-10-23 18:06:02.000', 'admin', '2019-10-23 18:06:02.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186946876801314817, 'mapper', '数据库操作映射', 'crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2019-10-23 18:06:02.000', 'admin', '2019-10-23 18:06:02.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186946877107499010, 'service', '业务逻辑接口', 'crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2019-10-23 18:06:03.000', 'admin', '2019-10-23 18:06:03.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186946877413683201, 'controller', '接口访问', 'crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2019-10-23 18:06:03.000', 'admin', '2019-10-23 18:06:03.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186946878646808578, 'tree-serviceImpl', '树表-业务逻辑实现', 'crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2019-10-23 18:06:03.000', 'admin', '2019-10-23 18:06:03.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186946878957187074, 'tree-index', '树表-列表页', 'crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2019-10-23 18:06:03.000', 'admin', '2019-10-23 18:06:03.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1186946879267565570, 'tree-add', '树表-数据维护', 'crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2019-10-23 18:06:03.000', 'admin', '2019-10-23 18:06:03.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1187178126698893313, 'entity', '单体通用-数据实体类', 'curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2019-10-24 09:24:57.000', 'admin', '2019-10-24 09:24:57.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1187178126988300290, 'mapper', '单体通用-数据库操作映射', 'curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2019-10-24 09:24:57.000', 'admin', '2019-10-24 09:24:57.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1187178127273512961, 'dao', '单体通用-数据操作', 'curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2019-10-24 09:24:57.000', 'admin', '2019-10-24 09:24:57.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1187179356338802689, 'bpm-serviceImpl', '单体bpm-业务逻辑实现', 'curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2019-10-24 09:29:50.000', 'admin', '2019-10-24 09:29:50.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1187179356649181185, 'bpm-service', '单体bpm-业务逻辑接口', 'curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2019-10-24 09:29:50.000', 'admin', '2019-10-24 09:29:50.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1187179356942782465, 'bpm-form', '单体bpm-表单', 'curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2019-10-24 09:29:50.000', 'admin', '2019-10-24 09:29:50.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1187179357223800834, 'bpm-dto', '单体bpm-页面实体类', 'curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2019-10-24 09:29:50.000', 'admin', '2019-10-24 09:29:50.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1187194267458617346, 'bpm-controller', '单体bpm-接口访问', 'curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2019-10-24 10:29:05.000', 'admin', '2019-10-24 10:29:05.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1187558516047532033, 'parent-parent-serviceImpl', '主子表(一体事务)-主表业务逻辑实现', 'parent-edittable', '单体应用-父子表模版(可编辑Table)', NULL, 'admin', '2019-10-25 10:36:29.000', 'admin', '2019-10-25 10:36:29.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1187558516299190273, 'parent-parent-dto', '主子表(一体事务)-主表页面实体类', 'parent-edittable', '单体应用-父子表模版(可编辑Table)', NULL, 'admin', '2019-10-25 10:36:29.000', 'admin', '2019-10-25 10:36:29.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1187558516550848514, 'parent-child-serviceImpl', '主子表(一体事务)-子表业务逻辑实现', 'parent-edittable', '单体应用-父子表模版(可编辑Table)', NULL, 'admin', '2019-10-25 10:36:29.000', 'admin', '2019-10-25 10:36:29.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1187558516789923842, 'parent-child-service', '主子表(一体事务)-子表业务逻辑接口', 'parent-edittable', '单体应用-父子表模版(可编辑Table)', NULL, 'admin', '2019-10-25 10:36:29.000', 'admin', '2019-10-25 10:36:29.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1187558517020610561, 'parent-child-controller', '主子表(一体事务)-子表接口访问', 'parent-edittable', '单体应用-父子表模版(可编辑Table)', NULL, 'admin', '2019-10-25 10:36:29.000', 'admin', '2019-10-25 10:36:29.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1187558517263880193, 'parentEditTable-parent-index', '主子表(可编辑table)-主表列表页', 'parent-edittable', '单体应用-父子表模版(可编辑Table)', NULL, 'admin', '2019-10-25 10:36:29.000', 'admin', '2019-10-25 10:36:29.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1187558517511344129, 'parentEditTable-parent-editForm', '主子表(可编辑table)-主表编辑表单', 'parent-edittable', '单体应用-父子表模版(可编辑Table)', NULL, 'admin', '2019-10-25 10:36:29.000', 'admin', '2019-10-25 10:36:29.000');
INSERT INTO gen_table_template_type
(id, template_code, template_name, type_code, type_name, remark, creator, create_date, updater, update_date)
VALUES(1187558517763002369, 'parentEditTable-child-index', '主子表(可编辑table)-子表可编辑table', 'parent-edittable', '单体应用-父子表模版(可编辑Table)', NULL, 'admin', '2019-10-25 10:36:29.000', 'admin', '2019-10-25 10:36:29.000');


-- 管理员角色
INSERT INTO sys_role
(id, name, remark, dept_id, creator, create_date, updater, update_date, role_grade, version)
VALUES(1105348926450638850, '系统管理员', '负责企业全面系统管理工作', NULL, 'admin', '2019-03-12 14:04:55.000', 'admin', '2019-05-05 10:20:17.000', '1', 0);
INSERT INTO sys_role
(id, name, remark, dept_id, creator, create_date, updater, update_date, role_grade, version)
VALUES(1105354541080207361, '普通管理员', '负责指定分公司或区域的二级管理员', NULL, 'admin', '2019-03-12 14:27:14.000', 'admin', '2019-05-05 10:20:24.000', '2', 0);

INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253506, 1105348926450638850, 1122402413792096257, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253507, 1105348926450638850, 1121324451186188290, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253508, 1105348926450638850, 1121324923284463617, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253509, 1105348926450638850, 1117706042473631745, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253510, 1105348926450638850, 1118413293341581313, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253511, 1105348926450638850, 1118110319444697090, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253512, 1105348926450638850, 1118336767388446722, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253513, 1105348926450638850, 1122402524739825666, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253514, 1105348926450638850, 1067246875800000002, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253515, 1105348926450638850, 1067246875800000055, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253516, 1105348926450638850, 1067246875800000056, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253517, 1105348926450638850, 1067246875800000003, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253518, 1105348926450638850, 1067246875800000004, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253519, 1105348926450638850, 1067246875800000005, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253520, 1105348926450638850, 1067246875800000006, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253521, 1105348926450638850, 1109015863500156929, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253522, 1105348926450638850, 1067246875800000012, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253523, 1105348926450638850, 1067246875800000014, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253524, 1105348926450638850, 1067246875800000015, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253525, 1105348926450638850, 1067246875800000016, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253526, 1105348926450638850, 1067246875800000017, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253527, 1105348926450638850, 1067246875800000007, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253528, 1105348926450638850, 1067246875800000008, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253529, 1105348926450638850, 1067246875800000009, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253530, 1105348926450638850, 1067246875800000010, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253531, 1105348926450638850, 1067246875800000011, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253532, 1105348926450638850, 1131418921042128898, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253533, 1105348926450638850, 1131418921042128899, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253534, 1105348926450638850, 1131418921042128900, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253535, 1105348926450638850, 1131418921042128901, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253536, 1105348926450638850, 1131418921042128902, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253537, 1105348926450638850, 1131418921042128903, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253538, 1105348926450638850, 1108280267198582786, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253539, 1105348926450638850, 1108280267198582787, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253540, 1105348926450638850, 1108280267198582788, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253541, 1105348926450638850, 1108280267198582789, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253542, 1105348926450638850, 1108280267198582790, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253543, 1105348926450638850, 1067246875800000035, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253544, 1105348926450638850, 1067246875800000025, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253545, 1105348926450638850, 1067246875800000026, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253546, 1105348926450638850, 1067246875800000027, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253547, 1105348926450638850, 1067246875800000028, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253548, 1105348926450638850, 1067246875800000029, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253549, 1105348926450638850, 1067246875800000040, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253550, 1105348926450638850, 1067246875800000059, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253551, 1105348926450638850, 1067246875800000057, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253552, 1105348926450638850, 1067246875800000060, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253553, 1105348926450638850, 1067246875800000061, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253554, 1105348926450638850, 1067246875800000058, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253555, 1105348926450638850, 1104945274515656706, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253556, 1105348926450638850, 1104945274536628225, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253557, 1105348926450638850, 1104945274536628226, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253558, 1105348926450638850, 1104945274536628227, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253559, 1105348926450638850, 1104945274536628228, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253560, 1105348926450638850, 1104945274536628229, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253561, 1105348926450638850, 1105673543542759425, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253562, 1105348926450638850, 1105674278967828481, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253563, 1105348926450638850, 1105674511944638465, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253564, 1105348926450638850, 1145647440064339970, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253565, 1105348926450638850, 1141225297814929409, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253566, 1105348926450638850, 1141225297814929410, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253567, 1105348926450638850, 1141225297814929411, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253568, 1105348926450638850, 1141225297814929412, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253569, 1105348926450638850, 1141225297814929413, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253570, 1105348926450638850, 1141225297814929414, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253571, 1105348926450638850, 1141225361773871106, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253572, 1105348926450638850, 1141225361773871107, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253573, 1105348926450638850, 1141225361773871108, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253574, 1105348926450638850, 1141225361773871109, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253575, 1105348926450638850, 1141225361773871110, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253576, 1105348926450638850, 1141225361773871111, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253577, 1105348926450638850, 1108978773529309186, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253578, 1105348926450638850, 1111643626912608257, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253579, 1105348926450638850, 1112915743196971009, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253580, 1105348926450638850, 1112336828338483201, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253581, 1105348926450638850, 1112978398242054146, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253582, 1105348926450638850, 1110386559477112834, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253583, 1105348926450638850, 1110807738292170753, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253584, 1105348926450638850, 1110807586852630530, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253585, 1105348926450638850, 1108981176664174594, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253586, 1105348926450638850, 1110124490260078593, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253587, 1105348926450638850, 1110124168137531394, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253588, 1105348926450638850, 1067246875800000046, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253589, 1105348926450638850, 1067246875800000048, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253590, 1105348926450638850, 1067246875800000049, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253591, 1105348926450638850, 1067246875800000050, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253592, 1105348926450638850, 1067246875800000053, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253593, 1105348926450638850, 1138633020304052225, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253594, 1105348926450638850, 1110756601934045185, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253595, 1105348926450638850, 1113617001195962370, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253596, 1105348926450638850, 1110169486024237058, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253597, 1105348926450638850, 1067246875800000051, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253598, 1105348926450638850, 1110444051728101378, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253599, 1105348926450638850, 1110444244569616386, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253600, 1105348926450638850, 1110462041977982978, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253601, 1105348926450638850, 1118389915403546626, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253602, 1105348926450638850, 1143351403967254529, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253603, 1105348926450638850, 1184657341549604865, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253604, 1105348926450638850, 1202511950502637569, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253605, 1105348926450638850, 1202511950502637570, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253606, 1105348926450638850, 1202511950502637571, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253607, 1105348926450638850, 1202511950502637572, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253608, 1105348926450638850, 1202511950502637573, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253609, 1105348926450638850, 1202511950502637574, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253610, 1105348926450638850, 1186875642667433986, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253611, 1105348926450638850, 1186875642667433987, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253612, 1105348926450638850, 1186875642667433988, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253613, 1105348926450638850, 1186875642667433989, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253614, 1105348926450638850, 1186875642667433990, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253615, 1105348926450638850, 1186875642667433991, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253616, 1105348926450638850, 1186917725864304641, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253617, 1105348926450638850, 1186917725864304642, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253618, 1105348926450638850, 1186917725864304643, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253619, 1105348926450638850, 1186917725864304644, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253620, 1105348926450638850, 1186917725864304645, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253621, 1105348926450638850, 1186917725864304646, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253622, 1105348926450638850, 1067246875800000013, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253623, 1105348926450638850, 1183651546183725058, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253624, 1105348926450638850, 1067246875800000019, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253625, 1105348926450638850, 1067246875800000018, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253626, 1105348926450638850, 1067246875800000020, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960079253627, 1105348926450638850, 1202059032984981505, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447810, 1105348926450638850, 1130380195256020993, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447811, 1105348926450638850, 1130380195256020994, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447812, 1105348926450638850, 1130380195256020995, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447813, 1105348926450638850, 1130380195256020996, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447814, 1105348926450638850, 1130380195256020997, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447815, 1105348926450638850, 1183652831612071937, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447816, 1105348926450638850, 1183652831612071938, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447817, 1105348926450638850, 1183652831612071939, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447818, 1105348926450638850, 1183652831612071940, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447819, 1105348926450638850, 1183652831612071941, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447820, 1105348926450638850, 1183652831612071942, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447821, 1105348926450638850, 1202105880600809473, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447822, 1105348926450638850, 1202106628789145601, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447823, 1105348926450638850, 1202106866174169089, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447824, 1105348926450638850, 1202106929415884801, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447825, 1105348926450638850, 1202107001608245250, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447826, 1105348926450638850, 1202107097523589122, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447827, 1105348926450638850, 1122404527650009089, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447828, 1105348926450638850, 1148504953559035905, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447829, 1105348926450638850, 1131091080756801538, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447830, 1105348926450638850, 1131091080756801539, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447831, 1105348926450638850, 1131091080756801540, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447832, 1105348926450638850, 1131091080756801541, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447833, 1105348926450638850, 1131091080756801542, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447834, 1105348926450638850, 1131091080756801543, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447835, 1105348926450638850, 1133545892338630657, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447836, 1105348926450638850, 1149189845248208898, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447837, 1105348926450638850, 1153541839211085825, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447838, 1105348926450638850, 1153538606602272770, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447839, 1105348926450638850, 1151664842711404546, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447840, 1105348926450638850, 1156089333816143874, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447841, 1105348926450638850, 1156094839679021058, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447842, 1105348926450638850, 1151664842711404548, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447843, 1105348926450638850, 1151664842711404549, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447844, 1105348926450638850, 1151664842711404550, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447845, 1105348926450638850, 1151664842711404551, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447846, 1105348926450638850, 1151664842711404547, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447847, 1105348926450638850, 1067246875800000024, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447848, 1105348926450638850, 1195167321528635393, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447849, 1105348926450638850, 1181444397625966593, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447850, 1105348926450638850, 1181444397625966594, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447851, 1105348926450638850, 1181444397625966595, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447852, 1105348926450638850, 1181444397625966596, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447853, 1105348926450638850, 1181444397625966597, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447854, 1105348926450638850, 1181444397625966598, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447855, 1105348926450638850, 1182576544459780097, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447856, 1105348926450638850, 1202054520257810434, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447857, 1105348926450638850, 1182968844237369345, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447858, 1105348926450638850, 1182968844237369346, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447859, 1105348926450638850, 1182968844237369347, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447860, 1105348926450638850, 1182968844237369348, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447861, 1105348926450638850, 1182968844237369349, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447862, 1105348926450638850, 1182968844237369350, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447863, 1105348926450638850, 1181833490362679298, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447864, 1105348926450638850, 1181842182009200641, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447865, 1105348926450638850, 1181842292403281921, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447866, 1105348926450638850, 1181842365681967106, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447867, 1105348926450638850, 1181842449379303425, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447868, 1105348926450638850, 1182835107434250242, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447869, 1105348926450638850, 1202051927406186497, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447870, 1105348926450638850, 1195167841647497218, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447871, 1105348926450638850, 1182908207394156545, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447872, 1105348926450638850, 1182908207394156546, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447873, 1105348926450638850, 1183621948898455554, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447874, 1105348926450638850, 1182908207394156547, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447875, 1105348926450638850, 1182908207394156548, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447876, 1105348926450638850, 1182908207394156549, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447877, 1105348926450638850, 1182908207394156550, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447878, 1105348926450638850, 1183680951262081025, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447879, 1105348926450638850, 1184009584788033537, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447880, 1105348926450638850, 1183680951262081026, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447881, 1105348926450638850, 1183680951262081027, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447882, 1105348926450638850, 1183680951262081028, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447883, 1105348926450638850, 1183680951262081029, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447884, 1105348926450638850, 1183680951262081030, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447885, 1105348926450638850, 1184277007788109825, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447886, 1105348926450638850, 1184399676224544769, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447887, 1105348926450638850, 1184277007788109826, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447888, 1105348926450638850, 1184277007788109827, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447889, 1105348926450638850, 1184277007788109828, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447890, 1105348926450638850, 1184277007788109829, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447891, 1105348926450638850, 1184277007788109830, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447892, 1105348926450638850, 1184041743643799554, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447893, 1105348926450638850, 1185054378767323138, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447894, 1105348926450638850, 1184041743643799555, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447895, 1105348926450638850, 1184041743643799556, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447896, 1105348926450638850, 1184041743643799557, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447897, 1105348926450638850, 1184041743643799558, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447898, 1105348926450638850, 1184041743643799559, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447899, 1105348926450638850, 1199937010075045890, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447900, 1105348926450638850, 1199937010075045891, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447901, 1105348926450638850, 1199937010075045892, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447902, 1105348926450638850, 1199937010075045893, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447903, 1105348926450638850, 1199937010075045894, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447904, 1105348926450638850, 1199937010075045895, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447905, 1105348926450638850, 1199935100119027714, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447906, 1105348926450638850, 1199935100119027715, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447907, 1105348926450638850, 1199935100119027716, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447908, 1105348926450638850, 1199935100119027717, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447909, 1105348926450638850, 1199935100119027718, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447910, 1105348926450638850, 1199935100119027719, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447911, 1105348926450638850, 1195168366010994690, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447912, 1105348926450638850, 1184296341495312386, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447913, 1105348926450638850, 1184296341495312387, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447914, 1105348926450638850, 1184296341495312388, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447915, 1105348926450638850, 1184296341495312389, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447916, 1105348926450638850, 1184296341495312390, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447917, 1105348926450638850, 1184296341495312391, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447918, 1105348926450638850, 1184345941044326402, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447919, 1105348926450638850, 1184345941044326403, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447920, 1105348926450638850, 1184345941044326404, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447921, 1105348926450638850, 1184345941044326405, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447922, 1105348926450638850, 1184345941044326406, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447923, 1105348926450638850, 1184345941044326407, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447924, 1105348926450638850, 1194897214990675969, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447925, 1105348926450638850, 1194897214990675970, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447926, 1105348926450638850, 1194897214990675971, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447927, 1105348926450638850, 1194897214990675972, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447928, 1105348926450638850, 1194897214990675973, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447929, 1105348926450638850, 1194897214990675974, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447930, 1105348926450638850, 1199932946268426241, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447931, 1105348926450638850, 1199932946268426242, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447932, 1105348926450638850, 1199932946268426243, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447933, 1105348926450638850, 1199932946268426244, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447934, 1105348926450638850, 1199932946268426245, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203911960083447935, 1105348926450638850, 1199932946268426246, '1067246875800000001', '2019-12-09 13:39:13.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116290, 1105354541080207361, 1122402413792096257, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116291, 1105354541080207361, 1121324451186188290, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116292, 1105354541080207361, 1121324923284463617, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116293, 1105354541080207361, 1117706042473631745, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116294, 1105354541080207361, 1118413293341581313, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116295, 1105354541080207361, 1118110319444697090, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116296, 1105354541080207361, 1118336767388446722, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116297, 1105354541080207361, 1067246875800000055, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116298, 1105354541080207361, 1067246875800000056, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116299, 1105354541080207361, 1067246875800000003, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116300, 1105354541080207361, 1067246875800000004, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116301, 1105354541080207361, 1067246875800000005, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116302, 1105354541080207361, 1067246875800000006, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116303, 1105354541080207361, 1109015863500156929, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116304, 1105354541080207361, 1067246875800000012, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116305, 1105354541080207361, 1067246875800000014, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116306, 1105354541080207361, 1067246875800000015, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116307, 1105354541080207361, 1067246875800000016, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116308, 1105354541080207361, 1067246875800000017, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116309, 1105354541080207361, 1067246875800000007, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116310, 1105354541080207361, 1067246875800000008, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116311, 1105354541080207361, 1067246875800000009, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116312, 1105354541080207361, 1067246875800000010, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116313, 1105354541080207361, 1067246875800000011, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116314, 1105354541080207361, 1104945274515656706, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116315, 1105354541080207361, 1104945274536628225, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116316, 1105354541080207361, 1104945274536628226, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116317, 1105354541080207361, 1104945274536628227, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116318, 1105354541080207361, 1104945274536628228, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116319, 1105354541080207361, 1104945274536628229, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116320, 1105354541080207361, 1110386559477112834, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116321, 1105354541080207361, 1110807738292170753, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116322, 1105354541080207361, 1110807586852630530, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116323, 1105354541080207361, 1067246875800000046, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116324, 1105354541080207361, 1067246875800000048, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116325, 1105354541080207361, 1067246875800000049, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116326, 1105354541080207361, 1067246875800000050, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116327, 1105354541080207361, 1067246875800000053, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116328, 1105354541080207361, 1138633020304052225, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116329, 1105354541080207361, 1110756601934045185, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116330, 1105354541080207361, 1113617001195962370, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116331, 1105354541080207361, 1110169486024237058, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116332, 1105354541080207361, 1067246875800000051, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116333, 1105354541080207361, 1110444051728101378, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116334, 1105354541080207361, 1110444244569616386, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116335, 1105354541080207361, 1110462041977982978, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116336, 1105354541080207361, 1122402524739825666, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116337, 1105354541080207361, 1067246875800000002, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116338, 1105354541080207361, 1067246875800000035, '1067246875800000001', '2019-12-09 13:40:35.000');
INSERT INTO sys_role_menu
(id, role_id, menu_id, creator, create_date)
VALUES(1203912303471116339, 1105354541080207361, 1108978773529309186, '1067246875800000001', '2019-12-09 13:40:35.000');

INSERT INTO sys_role_rule
(id, role_id, rule_sort, rule_id, custom_data, creator, create_date, updater, update_date, version)
VALUES(1203911960238637057, 1105348926450638850, 'DS_DEPT', 300, '', 'admin', '2019-12-09 13:39:14.000', 'admin', NULL, 0);
INSERT INTO sys_role_rule
(id, role_id, rule_sort, rule_id, custom_data, creator, create_date, updater, update_date, version)
VALUES(1203912303521447938, 1105354541080207361, 'DS_DEPT', 200, '', 'admin', '2019-12-09 13:40:35.000', 'admin', NULL, 0);

-- ---------------------------------------------------------------------------------------------------------------------
-- versions:6.3
-- ---------------------------------------------------------------------------------------------------------------------

-- 结构更改
ALTER TABLE `bpm_agent`
ADD COLUMN `tenant_id` varchar(64) NULL DEFAULT '' AFTER `create_date`;
ALTER TABLE `bpm_form_def`
ADD COLUMN `tenant_id` varchar(64) NULL DEFAULT '' AFTER `update_date`;
ALTER TABLE `bpm_proc_biz`
ADD COLUMN `tenant_id` varchar(64) NULL DEFAULT '' AFTER `update_date`;
ALTER TABLE `bpm_task_ext`
ADD COLUMN `tenant_id` varchar(64) NULL DEFAULT '' AFTER `update_date`;
ALTER TABLE `bpm_task_ext_url`
DROP COLUMN `tenant_id`,
ADD COLUMN `tenant_id` varchar(64) NULL DEFAULT '' AFTER `update_date`;
ALTER TABLE `bpm_task_ext_user`
DROP COLUMN `tenant_id`,
ADD COLUMN `tenant_id` varchar(64) NULL DEFAULT '' AFTER `update_date`;

ALTER TABLE `msg_mail_record`
ADD COLUMN `tenant_id` varchar(64) NULL DEFAULT '' AFTER `create_date`;
ALTER TABLE `msg_pool`
ADD COLUMN `tenant_id` varchar(64) NULL DEFAULT '' AFTER `update_date`;
ALTER TABLE `msg_record`
ADD COLUMN `tenant_id` varchar(64) NULL DEFAULT '' AFTER `status`;
ALTER TABLE `msg_record_read`
ADD COLUMN `tenant_id` varchar(64) NULL DEFAULT '' AFTER `status`;
ALTER TABLE `msg_sms_record`
ADD COLUMN `tenant_id` varchar(64) NULL DEFAULT '' AFTER `create_date`;
ALTER TABLE `msg_wechat_record`
ADD COLUMN `tenant_id` varchar(64) NULL DEFAULT '' AFTER `create_date`;

ALTER TABLE `msg_dingtalk_record`
ADD COLUMN `tenant_id` varchar(64) NULL DEFAULT '' AFTER `create_date`;

-- 数据更改
-- UPDATE act_de_model SET tenant_id ='' WHERE tenant_id=NULL
-- UPDATE act_de_model_history SET tenant_id ='' WHERE tenant_id=NULL

-- 菜单更改
DELETE a
FROM
 sys_menu a
WHERE
 a.id IN ( 1181444397625966593, 1181444397625966594, 1181444397625966595, 1181444397625966596, 1181444397625966597, 1181444397625966598, 1182576544459780097, 1200307391799390209, 1204572914773966850, 1204585386507558913, 1204587350419103745);


INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1181444397625966593, 1067246875800000035, 'sys/sysApp', '', 0, 'icon-desktop', 10, '1067246875800000001', '2019-10-08 14:21:01
', 'admin', '2019-12-10 18:44:08', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1181444397625966594, 1181444397625966593, '', 'sys:sysApp:page,sys:sysApp:info', 1, '', 0, '1067246875800000001', '2019-10-08 14:21:01
', '1067246875800000001', '2019-10-08 14:21:01', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1181444397625966595, 1181444397625966593, '', 'sys:sysApp:save', 1, '', 1, '1067246875800000001', '2019-10-08 14:21:02
', '1067246875800000001', '2019-10-08 14:21:02', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1181444397625966596, 1181444397625966593, '', 'sys:sysApp:update', 1, '', 2, '1067246875800000001', '2019-10-08 14:21:02
', '1067246875800000001', '2019-10-08 14:21:02', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1181444397625966597, 1181444397625966593, '', 'sys:sysApp:delete', 1, '', 3, '1067246875800000001', '2019-10-08 14:21:02
', '1067246875800000001', '2019-10-08 14:21:02', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1181444397625966598, 1181444397625966593, '', 'sys:sysApp:export', 1, '', 4, '1067246875800000001', '2019-10-08 14:21:02
', '1067246875800000001', '2019-10-08 14:21:02', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1182576544459780097, 1181444397625966593, '', 'msg:msgWechatAuth:page,msg:msgWechatAuth:info,msg:msgWechatAuth:save,msg:msgWechatAuth:delete,msg:msgWechatAccount:page', 1, '', 6, 'admin', '2019-10-11 16:39:54
', 'admin', '2019-11-29 14:54:50', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1200307391799390209, 1181444397625966593, '', 'msg:msgDingtalkAuth:page,msg:msgDingtalkAuth:info,msg:msgDingtalkAuth:save,msg:msgDingtalkAuth:update,msg:msgDingtalkAuth:delete,msg:msgDingtalkAccount:page', 1, '', 201, 'admin', '2019-11-29 14:55:57
', 'admin', '2019-12-02 09:36:46', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1204572914773966850, 1195167321528635393, '/msg/sysApp', 'sys:sysApp:page', 0, 'icon-codelibrary', 1, 'admin', '2019-12-11 09:25:37
', 'admin', '2019-12-11 10:20:50', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1204585386507558913, 1181444397625966593, '', 'sys:sysAppAuth:info', 1, '', 231, 'admin', '2019-12-11 10:15:11
', 'admin', '2019-12-11 10:15:55', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1204587350419103745, 1204572914773966850, '', 'msg:appconfig:config', 1, '', 241, 'admin', '2019-12-11 10:22:59
', 'admin', '2019-12-11 10:22:59', '0', '', 'C01', '1');

DELETE a
FROM
 sys_language a
WHERE
 a.table_id IN ( 1181444397625966593, 1181444397625966594, 1181444397625966595, 1181444397625966596, 1181444397625966597, 1181444397625966598, 1182576544459780097, 1200307391799390209, 1204572914773966850, 1204585386507558913, 1204587350419103745);


INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966599,'sys_menu', 1181444397625966593, 'name', 'app扩展表', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966600,'sys_menu', 1181444397625966593, 'name', '应用管理', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966601,'sys_menu', 1181444397625966593, 'name', 'app扩展表', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966602,'sys_menu', 1181444397625966594, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966603,'sys_menu', 1181444397625966594, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966604,'sys_menu', 1181444397625966594, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966605,'sys_menu', 1181444397625966595, 'name', 'Add', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966606,'sys_menu', 1181444397625966595, 'name', '新增', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966607,'sys_menu', 1181444397625966595, 'name', '新增', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966608,'sys_menu', 1181444397625966596, 'name', 'Edit', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966609,'sys_menu', 1181444397625966596, 'name', '修改', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966610,'sys_menu', 1181444397625966596, 'name', '修改', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966611,'sys_menu', 1181444397625966597, 'name', 'Delete', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966612,'sys_menu', 1181444397625966597, 'name', '删除', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966613,'sys_menu', 1181444397625966597, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966614,'sys_menu', 1181444397625966598, 'name', 'Export', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966615,'sys_menu', 1181444397625966598, 'name', '导出', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1181444397625966616,'sys_menu', 1181444397625966598, 'name', '導出', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1182576545055371265,'sys_menu', 1182576544459780097, 'name', '微信授权', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1200307392189460482,'sys_menu', 1200307391799390209, 'name', '钉钉授权', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1204572915298254849,'sys_menu', 1204572914773966850, 'name', '应用配置', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1204585387249950722,'sys_menu', 1204585386507558913, 'name', '授权', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1204587350750453762,'sys_menu', 1204587350419103745, 'name', '配置', 'zh-CN');

-- 数据字典更改
INSERT INTO sys_dict_type(id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date,version,remark)VALUES (1204350772086145026, '中间件服务', 'MID_SERVICE', 1, 1, 'admin', '2019-12-10 18:42:54', 'admin', '2019-12-10 18:42:54', null, '');

INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1204350835424329730, 1204350772086145026, '', 0, 0, 0, '', '消息提醒中心', 'UNIMSG', 'MID_SERVICE', '', 1, 'admin', '2019-12-10 18:43:10', 'admin', '2019-12-10 18:43:10', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1204350886347374594, 1204350772086145026, '', 1, 0, 0, '', '工作流引擎中心', 'UNIBPM', 'MID_SERVICE', '', 1, 'admin', '2019-12-10 18:43:22', 'admin', '2019-12-10 18:43:22', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1204350923991252994, 1204350772086145026, '', 2, 0, 0, '', 'OPENAPI网关', 'UNIAPI', 'MID_SERVICE', '', 1, 'admin', '2019-12-10 18:43:31', 'admin', '2019-12-10 18:43:31', 0);

-- 新增功能
CREATE TABLE `api_app_config` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `app_id` varchar(64) DEFAULT NULL COMMENT 'app账号',
  `max_access_num` int(11) DEFAULT NULL COMMENT '最大访问数',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_api_app_conf` (`app_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='应用接口扩展策略配置表';

CREATE TABLE `api_app_subscription` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `app_id` varchar(64) DEFAULT NULL COMMENT 'app账号',
  `interface_no` varchar(64) DEFAULT NULL COMMENT '接口api编码',
  `method` varchar(255) DEFAULT NULL COMMENT '访问接口api method',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_api_app_sub` (`app_id`,`interface_no`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='应用订阅接口关系表';

CREATE TABLE `api_notify_conf` (
  `id` bigint(20) NOT NULL,
  `interface_no` varchar(64) DEFAULT NULL COMMENT '接口api编码',
  `method` varchar(256) DEFAULT NULL COMMENT '访问接口api method',
  `interface_desc` varchar(256) DEFAULT NULL COMMENT '接口api描述',
  `interface_type` varchar(16) DEFAULT NULL COMMENT '接口api类型',
  `interface_url` varchar(256) DEFAULT NULL COMMENT '接口URL',
  `interface_ak` varchar(128) DEFAULT NULL COMMENT '接口访问AK',
  `interface_sk` varchar(128) DEFAULT NULL COMMENT '接口访问SK',
  `interface_extend_json` varchar(512) DEFAULT NULL COMMENT '接口访问扩展参数json',
  `status` tinyint(1) DEFAULT '0' COMMENT '是否启用 0-停用 1-启用',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_api_notify_conf` (`interface_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='主动通知接口定义表';

CREATE TABLE `api_notify_info` (
  `id` bigint(20) NOT NULL,
  `interface_no` varchar(255) DEFAULT NULL COMMENT '接口api编码',
  `biz_id` varchar(128) DEFAULT NULL COMMENT '业务主键 主要用于获取数据',
  `send_status` varchar(16) DEFAULT '0' COMMENT '接口发送状态 0-未发送 1-发送中 2-发送成功 3-发送失败',
  `send_time` datetime DEFAULT NULL COMMENT '接口发送时间',
  `send_desc` varchar(1024) DEFAULT NULL COMMENT '接口发送状态描述  做截取 详细看发送接口日志',
  `result_status` varchar(255) DEFAULT NULL COMMENT '接口响应状态',
  `result_data` varchar(1024) DEFAULT NULL COMMENT '接口响应数据',
  `feedback_status` varchar(16) DEFAULT '0' COMMENT '回写状态 0-未回写 1-回写中 2-回写成功 3-回写失败',
  `feedback_time` datetime DEFAULT NULL COMMENT '回写时间',
  `feedback_desc` varchar(1024) DEFAULT NULL COMMENT '回写状态描述',
  `feedback_retry` int(11) DEFAULT '0' COMMENT '回写尝试次数',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_api_notify_info` (`interface_no`,`biz_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='主动通知接口业务处理表';

CREATE TABLE `api_notify_info_his` (
  `id` bigint(20) NOT NULL,
  `interface_no` varchar(64) DEFAULT NULL COMMENT '接口api编码',
  `biz_id` varchar(128) DEFAULT NULL COMMENT '业务主键 主要用于获取数据',
  `send_status` varchar(16) DEFAULT NULL COMMENT '接口发送状态 0-未发送 1-发送中 2-发送成功 3-发送失败',
  `send_time` datetime DEFAULT NULL COMMENT '接口发送时间',
  `send_desc` varchar(1024) DEFAULT NULL COMMENT '接口发送状态描述  做截取 详细看发送接口日志',
  `result_status` varchar(16) DEFAULT NULL COMMENT '接口响应状态  true-成功 false-失败',
  `result_data` varchar(1024) DEFAULT NULL COMMENT '接口响应描述',
  `feedback_status` varchar(16) DEFAULT NULL COMMENT '回写状态 0-未回写 1-回写中 2-回写成功 3-回写失败',
  `feedback_time` datetime DEFAULT NULL COMMENT '回写时间',
  `feedback_desc` varchar(1024) DEFAULT NULL COMMENT '回写状态描述',
  `feedback_retry` int(11) DEFAULT NULL COMMENT '回写尝试次数',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='主动通知接口业务处理历史表';

CREATE TABLE `api_notify_log` (
  `id` bigint(20) NOT NULL,
  `interface_no` varchar(64) DEFAULT NULL COMMENT '接口api编码',
  `biz_id` varchar(128) DEFAULT NULL COMMENT '业务主键 主要用于获取数据',
  `request_url` varchar(512) DEFAULT NULL COMMENT '请求地址',
  `request_params` varchar(2048) DEFAULT NULL COMMENT '接口请求URL参数',
  `request_body` text COMMENT '接口请求body参数体',
  `send_status` tinyint(1) DEFAULT '0' COMMENT '发送状态',
  `response_str` text COMMENT '接口响应报文',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='主动通知接口日志表';

CREATE TABLE `api_notify_method` (
  `id` bigint(20) NOT NULL,
  `interface_id` bigint(20) DEFAULT NULL COMMENT 'notifyConf ID',
  `interface_no` varchar(64) DEFAULT NULL COMMENT '接口api编码',
  `step_no` varchar(16) DEFAULT NULL COMMENT '接口处理步骤号',
  `class_name` varchar(64) DEFAULT NULL COMMENT '接口实际处理服务类',
  `method_name` varchar(64) DEFAULT NULL COMMENT '接口实际处理服务方法',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uq_api_notify_method` (`interface_no`,`step_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='主动通知接口处理步骤定义';

CREATE TABLE `api_queue_conf` (
  `id` bigint(20) NOT NULL,
  `queue_name` varchar(64) DEFAULT NULL COMMENT '队列编码',
  `queue_desc` varchar(64) DEFAULT NULL COMMENT '队列描述',
  `queue_size` int(11) DEFAULT NULL COMMENT '队列最大值',
  `consumer_class` varchar(256) DEFAULT NULL COMMENT '消费者类',
  `consumer_num` int(11) DEFAULT NULL COMMENT '消费者最大数量',
  `sleep_millisecond` int(11) DEFAULT NULL COMMENT '队列等待时休眠时间（毫秒）',
  `sleep_max_interval` int(11) DEFAULT NULL COMMENT '休眠最大间隔，超过间隔线程退出',
  `status` tinyint(1) DEFAULT '0' COMMENT '是否启用 0-否 1-是',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_api_queue_conf` (`queue_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='消息队列配置';

CREATE TABLE `api_queue_log` (
  `id` bigint(20) NOT NULL COMMENT '主键 消息id',
  `queue_name` varchar(64) DEFAULT NULL COMMENT '队列编码',
  `queue_desc` varchar(64) DEFAULT NULL COMMENT '队列描述',
  `msg_biz_key` varchar(128) DEFAULT NULL COMMENT '消息业务key',
  `msg_content` varchar(512) DEFAULT NULL COMMENT '消息内容json串',
  `msg_create_time` datetime DEFAULT NULL COMMENT '消息创建时间',
  `feed_status` tinyint(1) DEFAULT '0' COMMENT '消费状态 0-消费失败 1-消费成功',
  `feed_desc` text COMMENT '消费状态描述',
  `feed_start_time` datetime DEFAULT NULL COMMENT '消费开始时间',
  `feed_end_time` datetime DEFAULT NULL COMMENT '消费结束时间',
  `feed_duration` bigint(20) DEFAULT NULL COMMENT '耗时（毫秒）',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='消息消费日志';

CREATE TABLE `api_receipt_conf` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `interface_no` varchar(64) DEFAULT NULL COMMENT '接口api编码',
  `method` varchar(256) DEFAULT NULL COMMENT '访问接口api method',
  `interface_desc` varchar(256) DEFAULT NULL COMMENT '接口api描述',
  `interface_type` varchar(16) DEFAULT NULL COMMENT '接口api类型',
  `status` tinyint(1) DEFAULT '0' COMMENT '是否启用 0-停用 1-启用',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_api_receipt_conf` (`interface_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='被动接收接口定义表\n';

CREATE TABLE `api_receipt_info` (
  `id` bigint(20) NOT NULL,
  `app_id` varchar(64) DEFAULT NULL COMMENT '应用ID',
  `method` varchar(256) DEFAULT NULL COMMENT '接口api method',
  `timestamp` datetime DEFAULT NULL COMMENT '接口请求时间',
  `sign` varchar(64) DEFAULT NULL COMMENT '接口请求签名  唯一索引',
  `request_params` varchar(2048) DEFAULT NULL COMMENT '接口请求URL参数',
  `request_body` text COMMENT '接口请求body参数体',
  `deal_flag` tinyint(3) DEFAULT '0' COMMENT '报文处理状态 0-未处理 1-处理中 2-处理成功 3-处理失败',
  `deal_desc` varchar(1024) DEFAULT NULL COMMENT '详细看处理日志',
  `deal_time` datetime DEFAULT NULL COMMENT '处理时间',
  `deal_retry` int(11) DEFAULT '0' COMMENT '处理失败次数',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_receipt_info` (`sign`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='被动接收接口报文表';

CREATE TABLE `api_receipt_info_his` (
  `id` bigint(20) NOT NULL,
  `app_id` varchar(64) DEFAULT NULL COMMENT '应用ID',
  `method` varchar(256) DEFAULT NULL COMMENT '接口api method',
  `timestamp` datetime DEFAULT NULL COMMENT '接口请求时间',
  `sign` varchar(64) DEFAULT NULL COMMENT '接口请求签名  唯一索引',
  `request_params` varchar(2048) DEFAULT NULL COMMENT '接口请求URL参数',
  `request_body` text COMMENT '接口请求body参数体',
  `deal_flag` tinyint(2) DEFAULT '0' COMMENT '报文处理状态 0-未处理 1-处理中 2-处理成功 3-处理失败',
  `deal_desc` varchar(1024) DEFAULT NULL COMMENT '详细看处理日志',
  `deal_time` datetime DEFAULT NULL COMMENT '处理时间',
  `deal_retry` int(11) DEFAULT '0' COMMENT '处理失败次数',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='被动接收接口报文历史表';

CREATE TABLE `api_receipt_log` (
  `id` bigint(20) NOT NULL,
  `app_id` varchar(64) DEFAULT NULL COMMENT '应用ID',
  `method` varchar(256) DEFAULT NULL COMMENT '接口api method',
  `timestamp` datetime DEFAULT NULL COMMENT '接口请求时间',
  `sign` varchar(64) DEFAULT NULL COMMENT '接口请求签名',
  `request_params` varchar(2048) DEFAULT NULL COMMENT '接口请求URL参数',
  `request_body` text COMMENT '接口请求body参数体',
  `receipt_status` tinyint(1) DEFAULT '0' COMMENT '发送状态',
  `response_str` varchar(1024) DEFAULT NULL COMMENT '接口响应报文',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='被动接收接口日志表';

CREATE TABLE `api_receipt_method` (
  `id` bigint(20) NOT NULL,
  `interface_id` bigint(20) DEFAULT NULL COMMENT 'receiptConf ID',
  `interface_no` varchar(64) DEFAULT NULL COMMENT '接口api编码',
  `method` varchar(256) DEFAULT NULL COMMENT '访问接口api method',
  `step_no` varchar(16) DEFAULT NULL COMMENT '接口处理步骤号',
  `class_name` varchar(64) DEFAULT NULL COMMENT '接口实际处理服务类',
  `method_name` varchar(64) DEFAULT NULL COMMENT '接口实际处理服务方法',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_receipt_method` (`interface_id`,`step_no`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='被动接收接口处理步骤定义表';

-- 菜单及权限数据
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1208652740671062017, 1211910369172189186, '', '', 3, 'icon-rocket-fill', 251, 'admin', '2019-12-22 15:37:24
', 'admin', '2019-12-31 15:22:23', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1208652869952094210, 1208652740671062017, 'queue/apiQueueConf', '', 0, 'icon-setting', 261, 'admin', '2019-12-22 15:37:55
', 'admin', '2019-12-22 15:37:55', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1208652869952094211, 1208652869952094210, '', 'queue:apiQueueConf:page,queue:apiQueueConf:info', 1, '', 0, 'admin', '2019-12-22 15:37:55
', 'admin', '2019-12-22 15:37:55', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1208652869952094212, 1208652869952094210, '', 'queue:apiQueueConf:save', 1, '', 1, 'admin', '2019-12-22 15:37:55
', 'admin', '2019-12-22 15:37:55', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1208652869952094213, 1208652869952094210, '', 'queue:apiQueueConf:update', 1, '', 2, 'admin', '2019-12-22 15:37:55
', 'admin', '2019-12-22 15:37:55', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1208652869952094214, 1208652869952094210, '', 'queue:apiQueueConf:delete', 1, '', 3, 'admin', '2019-12-22 15:37:55
', 'admin', '2019-12-22 15:37:55', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1208652869952094215, 1208652869952094210, '', 'queue:apiQueueConf:export', 1, '', 4, 'admin', '2019-12-22 15:37:55
', 'admin', '2019-12-22 15:37:55', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1208656813738704898, 1208652740671062017, 'queue/apiQueueLog', '', 0, 'icon-wallet', 271, 'admin', '2019-12-22 15:53:35
', 'admin', '2019-12-22 20:36:56', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1208656813738704899, 1208656813738704898, '', 'queue:apiQueueLog:page,queue:apiQueueLog:info', 1, '', 0, 'admin', '2019-12-22 15:53:35
', 'admin', '2019-12-22 20:38:25', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1208988544459190274, 1208652740671062017, 'queue/apiQueueMonitor', '', 0, 'icon-barchart', 281, 'admin', '2019-12-23 13:51:46
', 'admin', '2019-12-23 13:51:46', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209016414304755713, 1211910369172189186, '', '', 3, 'icon-setting', 291, 'admin', '2019-12-23 15:42:30
', 'admin', '2019-12-31 15:22:43', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209017356869726209, 1209016414304755713, 'api/apiReceiptConf', '', 0, 'icon-hourglass', 301, 'admin', '2019-12-23 15:46:15
', 'admin', '2019-12-23 15:47:28', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209017356869726210, 1209017356869726209, '', 'api:apiReceiptConf:page,api:apiReceiptConf:info', 1, '', 0, 'admin', '2019-12-23 15:46:15
', 'admin', '2019-12-23 15:46:15', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209017356869726211, 1209017356869726209, '', 'api:apiReceiptConf:save', 1, '', 1, 'admin', '2019-12-23 15:46:15
', 'admin', '2019-12-23 15:46:15', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209017356869726212, 1209017356869726209, '', 'api:apiReceiptConf:update', 1, '', 2, 'admin', '2019-12-23 15:46:15
', 'admin', '2019-12-23 15:46:15', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209017356869726213, 1209017356869726209, '', 'api:apiReceiptConf:delete', 1, '', 3, 'admin', '2019-12-23 15:46:15
', 'admin', '2019-12-23 15:46:15', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209017356869726214, 1209017356869726209, '', 'api:apiReceiptConf:export', 1, '', 4, 'admin', '2019-12-23 15:46:15
', 'admin', '2019-12-23 15:46:15', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209036471651049473, 1209016414304755713, 'api/apiReceiptInfo', '', 0, 'icon-sever', 311, 'admin', '2019-12-23 17:02:12
', 'admin', '2019-12-23 17:02:12', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209036471651049474, 1209036471651049473, '', 'api:apiReceiptInfo:page,api:apiReceiptInfo:info', 1, '', 0, 'admin', '2019-12-23 17:02:12
', 'admin', '2019-12-23 17:02:12', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209036471651049475, 1209036471651049473, '', 'api:apiReceiptInfo:save', 1, '', 1, 'admin', '2019-12-23 17:02:12
', 'admin', '2019-12-23 17:02:12', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209036471651049476, 1209036471651049473, '', 'api:apiReceiptInfo:update', 1, '', 2, 'admin', '2019-12-23 17:02:12
', 'admin', '2019-12-23 17:02:12', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209036471651049477, 1209036471651049473, '', 'api:apiReceiptInfo:delete', 1, '', 3, 'admin', '2019-12-23 17:02:12
', 'admin', '2019-12-23 17:02:12', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209036471651049478, 1209036471651049473, '', 'api:apiReceiptInfo:export', 1, '', 4, 'admin', '2019-12-23 17:02:12
', 'admin', '2019-12-23 17:02:12', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209347020607844354, 1209016414304755713, 'api/apiReceiptInfoHis', '', 0, 'icon-stock', 321, 'admin', '2019-12-24 13:36:13
', 'admin', '2019-12-24 13:36:13', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209347020607844355, 1209347020607844354, '', 'api:apiReceiptInfoHis:page,api:apiReceiptInfoHis:info', 1, '', 0, 'admin', '2019-12-24 13:36:13
', 'admin', '2019-12-24 13:36:13', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209347020607844356, 1209347020607844354, '', 'api:apiReceiptInfoHis:save', 1, '', 1, 'admin', '2019-12-24 13:36:13
', 'admin', '2019-12-24 13:36:13', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209347020607844357, 1209347020607844354, '', 'api:apiReceiptInfoHis:update', 1, '', 2, 'admin', '2019-12-24 13:36:13
', 'admin', '2019-12-24 13:36:13', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209347020607844358, 1209347020607844354, '', 'api:apiReceiptInfoHis:delete', 1, '', 3, 'admin', '2019-12-24 13:36:13
', 'admin', '2019-12-24 13:36:13', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209347020607844359, 1209347020607844354, '', 'api:apiReceiptInfoHis:export', 1, '', 4, 'admin', '2019-12-24 13:36:13
', 'admin', '2019-12-24 13:36:13', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209352073695498241, 1209016414304755713, 'api/apiReceiptLog', '', 0, 'icon-container', 331, 'admin', '2019-12-24 13:56:18
', 'admin', '2019-12-24 13:56:51', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209352073695498242, 1209352073695498241, '', 'api:apiReceiptLog:page,api:apiReceiptLog:info', 1, '', 0, 'admin', '2019-12-24 13:56:18
', 'admin', '2019-12-24 13:56:18', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209352073695498243, 1209352073695498241, '', 'api:apiReceiptLog:save', 1, '', 1, 'admin', '2019-12-24 13:56:18
', 'admin', '2019-12-24 13:56:18', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209352073695498244, 1209352073695498241, '', 'api:apiReceiptLog:update', 1, '', 2, 'admin', '2019-12-24 13:56:18
', 'admin', '2019-12-24 13:56:18', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209352073695498245, 1209352073695498241, '', 'api:apiReceiptLog:delete', 1, '', 3, 'admin', '2019-12-24 13:56:18
', 'admin', '2019-12-24 13:56:18', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209352073695498246, 1209352073695498241, '', 'api:apiReceiptLog:export', 1, '', 4, 'admin', '2019-12-24 13:56:18
', 'admin', '2019-12-24 13:56:18', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209353250357153793, 1211910369172189186, '', '', 3, 'icon-setting', 341, 'admin', '2019-12-24 14:00:58
', 'admin', '2019-12-31 15:22:56', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209353426392092674, 1209353250357153793, 'api/apiNotifyConf', '', 0, 'icon-hourglass', 351, 'admin', '2019-12-24 14:01:40
', 'admin', '2019-12-24 14:09:53', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209353426392092675, 1209353426392092674, '', 'api:apiNotifyConf:page,api:apiNotifyConf:info', 1, '', 0, 'admin', '2019-12-24 14:01:40
', 'admin', '2019-12-24 14:01:40', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209353426392092676, 1209353426392092674, '', 'api:apiNotifyConf:save', 1, '', 1, 'admin', '2019-12-24 14:01:40
', 'admin', '2019-12-24 14:01:40', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209353426392092677, 1209353426392092674, '', 'api:apiNotifyConf:update', 1, '', 2, 'admin', '2019-12-24 14:01:40
', 'admin', '2019-12-24 14:01:40', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209353426392092678, 1209353426392092674, '', 'api:apiNotifyConf:delete', 1, '', 3, 'admin', '2019-12-24 14:01:40
', 'admin', '2019-12-24 14:01:40', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209353426392092679, 1209353426392092674, '', 'api:apiNotifyConf:export', 1, '', 4, 'admin', '2019-12-24 14:01:40
', 'admin', '2019-12-24 14:01:40', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209363132665872386, 1209353250357153793, 'api/apiNotifyInfo', '', 0, 'icon-cloud-server', 361, 'admin', '2019-12-24 14:40:14
', 'admin', '2019-12-24 14:40:14', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209363132665872387, 1209363132665872386, '', 'api:apiNotifyInfo:page,api:apiNotifyInfo:info', 1, '', 0, 'admin', '2019-12-24 14:40:14
', 'admin', '2019-12-24 14:40:14', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209363132665872388, 1209363132665872386, '', 'api:apiNotifyInfo:save', 1, '', 1, 'admin', '2019-12-24 14:40:14
', 'admin', '2019-12-24 14:40:14', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209363132665872389, 1209363132665872386, '', 'api:apiNotifyInfo:update', 1, '', 2, 'admin', '2019-12-24 14:40:14
', 'admin', '2019-12-24 14:40:14', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209363132665872390, 1209363132665872386, '', 'api:apiNotifyInfo:delete', 1, '', 3, 'admin', '2019-12-24 14:40:14
', 'admin', '2019-12-24 14:40:14', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209363132665872391, 1209363132665872386, '', 'api:apiNotifyInfo:export', 1, '', 4, 'admin', '2019-12-24 14:40:14
', 'admin', '2019-12-24 14:40:14', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209367612207681538, 1209353250357153793, 'api/apiNotifyInfoHis', '', 0, 'icon-linechart', 371, 'admin', '2019-12-24 14:58:02
', 'admin', '2019-12-24 14:58:02', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209367612207681539, 1209367612207681538, '', 'api:apiNotifyInfoHis:page,api:apiNotifyInfoHis:info', 1, '', 0, 'admin', '2019-12-24 14:58:02
', 'admin', '2019-12-24 14:58:02', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209367612207681540, 1209367612207681538, '', 'api:apiNotifyInfoHis:save', 1, '', 1, 'admin', '2019-12-24 14:58:02
', 'admin', '2019-12-24 14:58:02', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209367612207681541, 1209367612207681538, '', 'api:apiNotifyInfoHis:update', 1, '', 2, 'admin', '2019-12-24 14:58:02
', 'admin', '2019-12-24 14:58:02', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209367612207681542, 1209367612207681538, '', 'api:apiNotifyInfoHis:delete', 1, '', 3, 'admin', '2019-12-24 14:58:02
', 'admin', '2019-12-24 14:58:02', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209367612207681543, 1209367612207681538, '', 'api:apiNotifyInfoHis:export', 1, '', 4, 'admin', '2019-12-24 14:58:02
', 'admin', '2019-12-24 14:58:02', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209369145490034690, 1209353250357153793, 'api/apiNotifyLog', '', 0, 'icon-container', 381, 'admin', '2019-12-24 15:04:08
', 'admin', '2019-12-24 15:04:08', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209369145490034691, 1209369145490034690, '', 'api:apiNotifyLog:page,api:apiNotifyLog:info', 1, '', 0, 'admin', '2019-12-24 15:04:08
', 'admin', '2019-12-24 15:04:08', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209369145490034692, 1209369145490034690, '', 'api:apiNotifyLog:save', 1, '', 1, 'admin', '2019-12-24 15:04:08
', 'admin', '2019-12-24 15:04:08', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209369145490034693, 1209369145490034690, '', 'api:apiNotifyLog:update', 1, '', 2, 'admin', '2019-12-24 15:04:08
', 'admin', '2019-12-24 15:04:08', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209369145490034694, 1209369145490034690, '', 'api:apiNotifyLog:delete', 1, '', 3, 'admin', '2019-12-24 15:04:08
', 'admin', '2019-12-24 15:04:08', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209369145490034695, 1209369145490034690, '', 'api:apiNotifyLog:export', 1, '', 4, 'admin', '2019-12-24 15:04:08
', 'admin', '2019-12-24 15:04:08', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209383198992232450, 1209016414304755713, 'api/apiAppSubscription', '', 0, 'icon-location', 300, 'admin', '2019-12-24 15:59:59
', 'admin', '2019-12-24 16:00:19', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209383198996426754, 1209383198992232450, '', 'api:apiAppSubscription:page,api:apiAppSubscription:info', 1, '', 0, 'admin', '2019-12-24 15:59:59
', 'admin', '2019-12-24 15:59:59', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209383198996426755, 1209383198992232450, '', 'api:apiAppSubscription:save', 1, '', 1, 'admin', '2019-12-24 15:59:59
', 'admin', '2019-12-24 15:59:59', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209383198996426756, 1209383198992232450, '', 'api:apiAppSubscription:update', 1, '', 2, 'admin', '2019-12-24 15:59:59
', 'admin', '2019-12-24 15:59:59', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209383198996426757, 1209383198992232450, '', 'api:apiAppSubscription:delete', 1, '', 3, 'admin', '2019-12-24 15:59:59
', 'admin', '2019-12-24 15:59:59', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1209383198996426758, 1209383198992232450, '', 'api:apiAppSubscription:export', 1, '', 4, 'admin', '2019-12-24 15:59:59
', 'admin', '2019-12-24 15:59:59', '0', '', '', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1211910369172189186, 0, '', '', 2, 'icon-deploymentunit', 391, 'admin', '2019-12-31 15:22:03
', 'admin', '2019-12-31 15:23:46', '0', '', '', '1');

INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652741862244353,'sys_menu', 1208652740671062017, 'name', '消息队列管理', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094216,'sys_menu', 1208652869952094210, 'name', '消息队列配置', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094217,'sys_menu', 1208652869952094210, 'name', '消息队列配置', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094218,'sys_menu', 1208652869952094210, 'name', '消息队列配置', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094219,'sys_menu', 1208652869952094211, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094220,'sys_menu', 1208652869952094211, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094221,'sys_menu', 1208652869952094211, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094222,'sys_menu', 1208652869952094212, 'name', 'Add', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094223,'sys_menu', 1208652869952094212, 'name', '新增', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094224,'sys_menu', 1208652869952094212, 'name', '新增', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094225,'sys_menu', 1208652869952094213, 'name', 'Edit', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094226,'sys_menu', 1208652869952094213, 'name', '修改', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094227,'sys_menu', 1208652869952094213, 'name', '修改', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094228,'sys_menu', 1208652869952094214, 'name', 'Delete', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094229,'sys_menu', 1208652869952094214, 'name', '删除', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094230,'sys_menu', 1208652869952094214, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094231,'sys_menu', 1208652869952094215, 'name', 'Export', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094232,'sys_menu', 1208652869952094215, 'name', '导出', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208652869952094233,'sys_menu', 1208652869952094215, 'name', '導出', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208656813738704904,'sys_menu', 1208656813738704898, 'name', '消息消费日志', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208656813738704905,'sys_menu', 1208656813738704898, 'name', '消息消费日志', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208656813738704906,'sys_menu', 1208656813738704898, 'name', '消息消费日志', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208656813738704907,'sys_menu', 1208656813738704899, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208656813738704908,'sys_menu', 1208656813738704899, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208656813738704909,'sys_menu', 1208656813738704899, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1208988545130278913,'sys_menu', 1208988544459190274, 'name', '消息队列监控', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209016415290417153,'sys_menu', 1209016414304755713, 'name', '被动接口管理', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726215,'sys_menu', 1209017356869726209, 'name', '被动接收接口定义表
', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726216,'sys_menu', 1209017356869726209, 'name', '被动接口配置', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726217,'sys_menu', 1209017356869726209, 'name', '被动接收接口定义表
', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726218,'sys_menu', 1209017356869726210, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726219,'sys_menu', 1209017356869726210, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726220,'sys_menu', 1209017356869726210, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726221,'sys_menu', 1209017356869726211, 'name', 'Add', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726222,'sys_menu', 1209017356869726211, 'name', '新增', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726223,'sys_menu', 1209017356869726211, 'name', '新增', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726224,'sys_menu', 1209017356869726212, 'name', 'Edit', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726225,'sys_menu', 1209017356869726212, 'name', '修改', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726226,'sys_menu', 1209017356869726212, 'name', '修改', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726227,'sys_menu', 1209017356869726213, 'name', 'Delete', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726228,'sys_menu', 1209017356869726213, 'name', '删除', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726229,'sys_menu', 1209017356869726213, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726230,'sys_menu', 1209017356869726214, 'name', 'Export', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726231,'sys_menu', 1209017356869726214, 'name', '导出', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209017356869726232,'sys_menu', 1209017356869726214, 'name', '導出', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049479,'sys_menu', 1209036471651049473, 'name', '被动接口报文信息', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049480,'sys_menu', 1209036471651049473, 'name', '被动接口报文信息', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049481,'sys_menu', 1209036471651049473, 'name', '被动接口报文信息', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049482,'sys_menu', 1209036471651049474, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049483,'sys_menu', 1209036471651049474, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049484,'sys_menu', 1209036471651049474, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049485,'sys_menu', 1209036471651049475, 'name', 'Add', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049486,'sys_menu', 1209036471651049475, 'name', '新增', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049487,'sys_menu', 1209036471651049475, 'name', '新增', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049488,'sys_menu', 1209036471651049476, 'name', 'Edit', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049489,'sys_menu', 1209036471651049476, 'name', '修改', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049490,'sys_menu', 1209036471651049476, 'name', '修改', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049491,'sys_menu', 1209036471651049477, 'name', 'Delete', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049492,'sys_menu', 1209036471651049477, 'name', '删除', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049493,'sys_menu', 1209036471651049477, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049494,'sys_menu', 1209036471651049478, 'name', 'Export', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049495,'sys_menu', 1209036471651049478, 'name', '导出', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209036471651049496,'sys_menu', 1209036471651049478, 'name', '導出', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020607844360,'sys_menu', 1209347020607844354, 'name', '被动接口报文历史', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020607844361,'sys_menu', 1209347020607844354, 'name', '被动接口报文历史', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020607844362,'sys_menu', 1209347020607844354, 'name', '被动接口报文历史', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020607844363,'sys_menu', 1209347020607844355, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020607844364,'sys_menu', 1209347020607844355, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020607844365,'sys_menu', 1209347020607844355, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020607844366,'sys_menu', 1209347020607844356, 'name', 'Add', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020607844367,'sys_menu', 1209347020607844356, 'name', '新增', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020607844368,'sys_menu', 1209347020607844356, 'name', '新增', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020607844369,'sys_menu', 1209347020607844357, 'name', 'Edit', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020620427265,'sys_menu', 1209347020607844357, 'name', '修改', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020620427266,'sys_menu', 1209347020607844357, 'name', '修改', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020620427267,'sys_menu', 1209347020607844358, 'name', 'Delete', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020620427268,'sys_menu', 1209347020607844358, 'name', '删除', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020620427269,'sys_menu', 1209347020607844358, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020620427270,'sys_menu', 1209347020607844359, 'name', 'Export', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020620427271,'sys_menu', 1209347020607844359, 'name', '导出', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209347020620427272,'sys_menu', 1209347020607844359, 'name', '導出', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498247,'sys_menu', 1209352073695498241, 'name', '被动接口请求日志', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498248,'sys_menu', 1209352073695498241, 'name', '被动接口请求日志', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498249,'sys_menu', 1209352073695498241, 'name', '被动接口请求日志', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498250,'sys_menu', 1209352073695498242, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498251,'sys_menu', 1209352073695498242, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498252,'sys_menu', 1209352073695498242, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498253,'sys_menu', 1209352073695498243, 'name', 'Add', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498254,'sys_menu', 1209352073695498243, 'name', '新增', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498255,'sys_menu', 1209352073695498243, 'name', '新增', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498256,'sys_menu', 1209352073695498244, 'name', 'Edit', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498257,'sys_menu', 1209352073695498244, 'name', '修改', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498258,'sys_menu', 1209352073695498244, 'name', '修改', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498259,'sys_menu', 1209352073695498245, 'name', 'Delete', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498260,'sys_menu', 1209352073695498245, 'name', '删除', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498261,'sys_menu', 1209352073695498245, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498262,'sys_menu', 1209352073695498246, 'name', 'Export', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498263,'sys_menu', 1209352073695498246, 'name', '导出', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209352073695498264,'sys_menu', 1209352073695498246, 'name', '導出', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353250784972802,'sys_menu', 1209353250357153793, 'name', '主动接口管理', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092680,'sys_menu', 1209353426392092674, 'name', '主动通知接口定义表', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092681,'sys_menu', 1209353426392092674, 'name', '主动接口配置', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092682,'sys_menu', 1209353426392092674, 'name', '主动通知接口定义表', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092683,'sys_menu', 1209353426392092675, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092684,'sys_menu', 1209353426392092675, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092685,'sys_menu', 1209353426392092675, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092686,'sys_menu', 1209353426392092676, 'name', 'Add', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092687,'sys_menu', 1209353426392092676, 'name', '新增', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092688,'sys_menu', 1209353426392092676, 'name', '新增', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092689,'sys_menu', 1209353426392092677, 'name', 'Edit', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092690,'sys_menu', 1209353426392092677, 'name', '修改', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092691,'sys_menu', 1209353426392092677, 'name', '修改', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092692,'sys_menu', 1209353426392092678, 'name', 'Delete', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092693,'sys_menu', 1209353426392092678, 'name', '删除', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092694,'sys_menu', 1209353426392092678, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092695,'sys_menu', 1209353426392092679, 'name', 'Export', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092696,'sys_menu', 1209353426392092679, 'name', '导出', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209353426392092697,'sys_menu', 1209353426392092679, 'name', '導出', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872392,'sys_menu', 1209363132665872386, 'name', '主动接口信息', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872393,'sys_menu', 1209363132665872386, 'name', '主动接口信息', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872394,'sys_menu', 1209363132665872386, 'name', '主动接口信息', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872395,'sys_menu', 1209363132665872387, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872396,'sys_menu', 1209363132665872387, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872397,'sys_menu', 1209363132665872387, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872398,'sys_menu', 1209363132665872388, 'name', 'Add', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872399,'sys_menu', 1209363132665872388, 'name', '新增', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872400,'sys_menu', 1209363132665872388, 'name', '新增', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872401,'sys_menu', 1209363132665872389, 'name', 'Edit', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872402,'sys_menu', 1209363132665872389, 'name', '修改', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872403,'sys_menu', 1209363132665872389, 'name', '修改', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872404,'sys_menu', 1209363132665872390, 'name', 'Delete', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872405,'sys_menu', 1209363132665872390, 'name', '删除', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872406,'sys_menu', 1209363132665872390, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872407,'sys_menu', 1209363132665872391, 'name', 'Export', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872408,'sys_menu', 1209363132665872391, 'name', '导出', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209363132665872409,'sys_menu', 1209363132665872391, 'name', '導出', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681544,'sys_menu', 1209367612207681538, 'name', '主动接口信息历史', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681545,'sys_menu', 1209367612207681538, 'name', '主动接口信息历史', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681546,'sys_menu', 1209367612207681538, 'name', '主动接口信息历史', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681547,'sys_menu', 1209367612207681539, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681548,'sys_menu', 1209367612207681539, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681549,'sys_menu', 1209367612207681539, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681550,'sys_menu', 1209367612207681540, 'name', 'Add', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681551,'sys_menu', 1209367612207681540, 'name', '新增', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681552,'sys_menu', 1209367612207681540, 'name', '新增', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681553,'sys_menu', 1209367612207681541, 'name', 'Edit', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681554,'sys_menu', 1209367612207681541, 'name', '修改', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681555,'sys_menu', 1209367612207681541, 'name', '修改', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681556,'sys_menu', 1209367612207681542, 'name', 'Delete', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681557,'sys_menu', 1209367612207681542, 'name', '删除', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681558,'sys_menu', 1209367612207681542, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681559,'sys_menu', 1209367612207681543, 'name', 'Export', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681560,'sys_menu', 1209367612207681543, 'name', '导出', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209367612207681561,'sys_menu', 1209367612207681543, 'name', '導出', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034696,'sys_menu', 1209369145490034690, 'name', '主动接口日志表', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034697,'sys_menu', 1209369145490034690, 'name', '主动接口日志表', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034698,'sys_menu', 1209369145490034690, 'name', '主动接口日志表', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034699,'sys_menu', 1209369145490034691, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034700,'sys_menu', 1209369145490034691, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034701,'sys_menu', 1209369145490034691, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034702,'sys_menu', 1209369145490034692, 'name', 'Add', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034703,'sys_menu', 1209369145490034692, 'name', '新增', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034704,'sys_menu', 1209369145490034692, 'name', '新增', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034705,'sys_menu', 1209369145490034693, 'name', 'Edit', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034706,'sys_menu', 1209369145490034693, 'name', '修改', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034707,'sys_menu', 1209369145490034693, 'name', '修改', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034708,'sys_menu', 1209369145490034694, 'name', 'Delete', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034709,'sys_menu', 1209369145490034694, 'name', '删除', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034710,'sys_menu', 1209369145490034694, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034711,'sys_menu', 1209369145490034695, 'name', 'Export', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034712,'sys_menu', 1209369145490034695, 'name', '导出', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209369145490034713,'sys_menu', 1209369145490034695, 'name', '導出', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426759,'sys_menu', 1209383198992232450, 'name', '应用订阅被动接口', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426760,'sys_menu', 1209383198992232450, 'name', '应用订阅被动接口', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426761,'sys_menu', 1209383198992232450, 'name', '应用订阅被动接口', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426762,'sys_menu', 1209383198996426754, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426763,'sys_menu', 1209383198996426754, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426764,'sys_menu', 1209383198996426754, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426765,'sys_menu', 1209383198996426755, 'name', 'Add', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426766,'sys_menu', 1209383198996426755, 'name', '新增', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426767,'sys_menu', 1209383198996426755, 'name', '新增', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426768,'sys_menu', 1209383198996426756, 'name', 'Edit', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426769,'sys_menu', 1209383198996426756, 'name', '修改', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426770,'sys_menu', 1209383198996426756, 'name', '修改', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426771,'sys_menu', 1209383198996426757, 'name', 'Delete', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426772,'sys_menu', 1209383198996426757, 'name', '删除', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426773,'sys_menu', 1209383198996426757, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426774,'sys_menu', 1209383198996426758, 'name', 'Export', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426775,'sys_menu', 1209383198996426758, 'name', '导出', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1209383198996426776,'sys_menu', 1209383198996426758, 'name', '導出', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1211910369256075266,'sys_menu', 1211910369172189186, 'name', '接口网关', 'zh-CN');

-- 数据字典
INSERT INTO sys_dict_type(id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date,version,remark)VALUES (1209010151143616514, '接收接口类型', 'API_RECEIPT_TYPE', 1, 1, 'admin', '2019-12-23 15:17:37', 'admin', '2019-12-23 15:17:43', null, '');
INSERT INTO sys_dict_type(id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date,version,remark)VALUES (1209024689289064449, '接收接口处理步骤', 'API_RECEIPT_STEP_NO', 1, 1, 'admin', '2019-12-23 16:15:23', 'admin', '2019-12-23 16:15:23', null, '');
INSERT INTO sys_dict_type(id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date,version,remark)VALUES (1209359483608825857, 'API通知接口步骤编号', 'API_NOTIFY_STEP_NO', 1, 1, 'admin', '2019-12-24 14:25:44', 'admin', '2019-12-24 14:25:53', null, '');
INSERT INTO sys_dict_type(id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date,version,remark)VALUES (1210035209467084801, 'API接口处理标识', 'API_DEAL_FLAG', 0, 1, 'admin', '2019-12-26 11:10:50', 'admin', '2019-12-26 11:10:50', null, '');
INSERT INTO sys_dict_type(id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date,version,remark)VALUES (1211478022255857666, 'API接口发送状态', 'API_SEND_STATUS', 0, 1, 'admin', '2019-12-30 10:44:03', 'admin', '2019-12-30 10:44:03', null, '');
INSERT INTO sys_dict_type(id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date,version,remark)VALUES (1211478640097808385, 'API接口回写状态', 'API_FEEDBACK_STATUS', 0, 1, 'admin', '2019-12-30 10:46:31', 'admin', '2019-12-30 10:46:31', null, '');

INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1209010279103442946, 1209010151143616514, '', 0, 0, 0, '', '同步接口', 'sync', 'API_RECEIPT_TYPE', '', 1, 'admin', '2019-12-23 15:18:08', 'admin', '2019-12-23 15:18:08', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1209010326780096514, 1209010151143616514, '', 1, 0, 0, '', '异步接口', 'async', 'API_RECEIPT_TYPE', '', 1, 'admin', '2019-12-23 15:18:19', 'admin', '2019-12-23 15:18:19', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1209024783119839234, 1209024689289064449, '', 0, 0, 0, '', '接收报文处理', 'DEAL', 'API_RECEIPT_STEP_NO', '', 1, 'admin', '2019-12-23 16:15:46', 'admin', '2019-12-23 16:15:46', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1209359616522125313, 1209359483608825857, '', 0, 0, 0, '', '查询数据', 'QUERY_INFO', 'API_NOTIFY_STEP_NO', '', 1, 'admin', '2019-12-24 14:26:16', 'admin', '2019-12-24 14:26:16', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1209359668292419586, 1209359483608825857, '', 1, 0, 0, '', '发送数据', 'SEND_INFO', 'API_NOTIFY_STEP_NO', '', 1, 'admin', '2019-12-24 14:26:28', 'admin', '2019-12-24 14:26:28', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1209359721144844289, 1209359483608825857, '', 2, 0, 0, '', '回写发送状态', 'FEEDBACK', 'API_NOTIFY_STEP_NO', '', 1, 'admin', '2019-12-24 14:26:41', 'admin', '2019-12-24 14:26:41', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1210035246909636610, 1210035209467084801, '', 0, 0, 0, '', '未处理', '0', 'API_DEAL_FLAG', '', 1, 'admin', '2019-12-26 11:10:59', 'admin', '2019-12-26 11:10:59', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1210035268485136386, 1210035209467084801, '', 1, 0, 0, '', '处理中', '1', 'API_DEAL_FLAG', '', 1, 'admin', '2019-12-26 11:11:04', 'admin', '2019-12-26 11:11:04', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1210035298579267585, 1210035209467084801, '', 2, 0, 0, '', '处理成功', '2', 'API_DEAL_FLAG', '', 1, 'admin', '2019-12-26 11:11:11', 'admin', '2019-12-26 11:11:11', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1210035324546203649, 1210035209467084801, '', 3, 0, 0, '', '处理失败', '3', 'API_DEAL_FLAG', '', 1, 'admin', '2019-12-26 11:11:17', 'admin', '2019-12-26 11:11:17', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1211478067743084545, 1211478022255857666, '', 0, 0, 0, '', '未发送', '0', 'API_SEND_STATUS', '', 1, 'admin', '2019-12-30 10:44:14', 'admin', '2019-12-30 10:44:14', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1211478088643301378, 1211478022255857666, '', 1, 0, 0, '', '发送中', '1', 'API_SEND_STATUS', '', 1, 'admin', '2019-12-30 10:44:19', 'admin', '2019-12-30 10:44:19', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1211478115973386242, 1211478022255857666, '', 2, 0, 0, '', '发送成功', '2', 'API_SEND_STATUS', '', 1, 'admin', '2019-12-30 10:44:26', 'admin', '2019-12-30 10:44:26', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1211478142305226754, 1211478022255857666, '', 3, 0, 0, '', '发送失败', '3', 'API_SEND_STATUS', '', 1, 'admin', '2019-12-30 10:44:32', 'admin', '2019-12-30 10:44:32', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1211478686046408706, 1211478640097808385, '', 0, 0, 0, '', '未回写', '0', 'API_FEEDBACK_STATUS', '', 1, 'admin', '2019-12-30 10:46:42', 'admin', '2019-12-30 10:46:50', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1211478751737597954, 1211478640097808385, '', 1, 0, 0, '', '回写中', '1', 'API_FEEDBACK_STATUS', '', 1, 'admin', '2019-12-30 10:46:57', 'admin', '2019-12-30 10:46:57', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1211478792405569537, 1211478640097808385, '', 2, 0, 0, '', '回写成功', '2', 'API_FEEDBACK_STATUS', '', 1, 'admin', '2019-12-30 10:47:07', 'admin', '2019-12-30 10:47:07', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1211478818921959426, 1211478640097808385, '', 3, 0, 0, '', '回写失败', '3', 'API_FEEDBACK_STATUS', '', 1, 'admin', '2019-12-30 10:47:13', 'admin', '2019-12-30 10:47:13', 0);

-- ---------------------------------------------------------------------------------------------------------------------
-- versions:6.3.1
-- ---------------------------------------------------------------------------------------------------------------------

-- 用户自定义权限表
drop table if exists sys_user_custrule;
CREATE TABLE `sys_user_custrule` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `user_id` bigint(20) NOT NULL COMMENT '用户ID',
  `rule_sort` varchar(100) NOT NULL COMMENT '权限分类-如DS_DEPT',
  `custom_data` text COMMENT '自定义数据',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  `version` int(11) DEFAULT '0' COMMENT '乐观锁标记',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户自定义权限';

delete from sys_menu where id in (1109015863500156929,1214088918185713665);

INSERT INTO sys_menu
(id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag)
VALUES(1109015863500156929, 1067246875800000055, '', 'sys:user:secAdmin', 1, '', NULL, NULL, NULL, 5, 'admin', '2019-03-22 16:56:01.000', 'admin', '2020-01-06 15:39:35.000', NULL, NULL, '', 1);
INSERT INTO sys_menu
(id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag)
VALUES(1214088918185713665, 1067246875800000055, '', 'sys:sysUserCustrule:genList,sys:sysUserCustrule:save', 1, '', '', '', '', 6, 'admin', '2020-01-06 15:38:49.000', 'admin', '2020-01-06 16:11:44.000', '0', NULL, '', 1);

INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1214088919016185858, 'sys_menu', 1214088918185713665, 'name', '自定义权限', 'zh-CN');

alter table msg_record_read add (receiver_id bigint(20) null COMMENT '接收者id,receiver弃用');
-- add by che
ALTER TABLE sys_app ADD `status` tinyint(4) COMMENT '状态';

CREATE TABLE `demo_business` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `bz_flag` varchar(64) NOT NULL COMMENT '业务类型标记',
  `applicant` varchar(64) DEFAULT NULL COMMENT '申请人（账号）',
  `dept_id` bigint(20) DEFAULT NULL COMMENT '部门id',
  `num` int(11) DEFAULT NULL COMMENT '数量',
  `amount` decimal(18,2) DEFAULT NULL COMMENT '金额',
  `car` varchar(200) DEFAULT NULL COMMENT '车辆名称',
  `materials` varchar(200) DEFAULT NULL COMMENT '材料名称',
  `place` varchar(200) DEFAULT NULL COMMENT '地点',
  `supplier` varchar(200) DEFAULT NULL COMMENT '供应商名称',
  `Candidate` varchar(64) DEFAULT NULL COMMENT '候选人（账号）',
  `prj_name` varchar(200) DEFAULT NULL COMMENT '项目名称',
  `start_date` datetime DEFAULT NULL COMMENT '开始时间',
  `end_date` datetime DEFAULT NULL COMMENT '结束时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) CHARACTER SET utf8 DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1217720603859656705, 1129274780424445954, 'test/feeApplyForm', '', 0, '', 391, 'admin', '2020-01-16 16:09:51
', 'admin', '2020-01-16 16:09:51', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1217720755437608961, 1217720603859656705, '', 'demo:demoBusiness:page,demo:demoBusiness:info', 1, '', 401, 'admin', '2020-01-16 16:10:27
', 'admin', '2020-01-16 16:10:27', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1217720839671816194, 1217720603859656705, '', 'demo:demoBusiness:save', 1, '', 411, 'admin', '2020-01-16 16:10:47
', 'admin', '2020-01-16 16:10:47', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1217720914376564738, 1217720603859656705, '', 'demo:demoBusiness:update', 1, '', 421, 'admin', '2020-01-16 16:11:05
', 'admin', '2020-01-16 16:11:05', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1217720977609891841, 1217720603859656705, '', 'demo:demoBusiness:delete', 1, '', 431, 'admin', '2020-01-16 16:11:20
', 'admin', '2020-01-16 16:11:20', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1217721079963492354, 1217720603859656705, '', 'sys:dept:list', 1, '', 441, 'admin', '2020-01-16 16:11:44
', 'admin', '2020-01-16 16:11:44', '0', '', 'C01', '1');

INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1217720604400721922,'sys_menu', 1217720603859656705, 'name', '万能表单', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1217720755911565313,'sys_menu', 1217720755437608961, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1217720840145772546,'sys_menu', 1217720839671816194, 'name', '新增', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1217720914888269825,'sys_menu', 1217720914376564738, 'name', '修改', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1217720978083848194,'sys_menu', 1217720977609891841, 'name', '删除', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1217721080508751873,'sys_menu', 1217721079963492354, 'name', '查看部门', 'zh-CN');

-- ---------------------------------------------------------------------------------------------------------------------
-- versions:6.3.2
-- ---------------------------------------------------------------------------------------------------------------------
DROP TABLE IF EXISTS `msg_biz_channel`;
CREATE TABLE `msg_biz_channel` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `biz_type_code` varchar(64) DEFAULT NULL COMMENT '业务类型编码',
  `channel_type` varchar(16) DEFAULT NULL COMMENT '通道类型 0-内置通道 1-自定义灵活通道',
  `channel_code` varchar(64) DEFAULT NULL COMMENT '通道编码',
  `template_id` varchar(64) DEFAULT NULL COMMENT '模板编码',
  `custom_class` varchar(64) DEFAULT NULL COMMENT '自定义类名',
  `custom_method` varchar(64) DEFAULT NULL COMMENT '自定义方法名',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='业务消息通道配置';

DROP TABLE IF EXISTS `msg_biz_info`;
CREATE TABLE `msg_biz_info` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `biz_id` varchar(128) DEFAULT NULL COMMENT '业务消息主键',
  `biz_type_code` varchar(64) DEFAULT NULL COMMENT '业务类型编码',
  `biz_receive_info` varchar(256) DEFAULT NULL COMMENT '业务消息接收人ID 多个，分割',
  `biz_params` varchar(1024) DEFAULT NULL COMMENT '业务消息内容体 json串',
  `biz_create_time` datetime DEFAULT NULL COMMENT '业务消息创建时间',
  `biz_send_status` tinyint(3) DEFAULT '0' COMMENT '业务消息发送状态 \n0- 未发送\n1- 发送中\n2- 发送成功\n3- 发送失败',
  `biz_send_desc` varchar(255) DEFAULT NULL COMMENT '业务消息发送描述',
  `biz_send_time` datetime DEFAULT NULL COMMENT '业务消息发送时间',
  `biz_send_retry` int(255) DEFAULT '0' COMMENT '业务消息发送失败次数',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='通用业务消息推送中间表';

-- 修改表结构
ALTER TABLE `bpm_task_ext_url`
ADD COLUMN `app_menu_id` bigint(20) NULL AFTER `tenant_id`,
ADD COLUMN `app_url` varchar(200) NULL AFTER `app_menu_id`;

-- 初始化数据字典
INSERT INTO sys_dict_type(id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date,version,remark)VALUES (1227533577630023681, '通用业务消息推送业务类型', 'MSG_BIZ_TYPE', 0, 1, 'admin', '2020-02-12 18:03:06', 'admin', '2020-02-14 17:05:39', null, '');
INSERT INTO sys_dict_type(id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date,version,remark)VALUES (1227569322285629441, '消息通道类型', 'MSG_CHANNEL', 1, 1, 'admin', '2020-02-12 20:25:08', 'admin', '2020-02-12 20:25:14', null, '');

INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1227533788326690817, 1227533577630023681, '', 0, 0, 0, '', '工作流-节点取消', 'BPM-ACTIVITY-CANCELED', 'MSG_BIZ_TYPE', '', 1, 'admin', '2020-02-12 18:03:56', 'admin', '2020-02-14 20:55:39', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1227534049929625601, 1227533577630023681, '', 1, 0, 0, '', '工作流-流程待办通知', 'BPM-TASK-ASSIGNED', 'MSG_BIZ_TYPE', '', 1, 'admin', '2020-02-12 18:04:59', 'admin', '2020-02-14 20:55:17', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1227534166984261634, 1227533577630023681, '', 2, 0, 0, '', '工作流-审批完成通知', 'BPM-PROCESS-COMPLETE', 'MSG_BIZ_TYPE', '', 1, 'admin', '2020-02-12 18:05:27', 'admin', '2020-02-12 18:05:27', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1228301894527492097, 1227533577630023681, '', 3, 0, 0, '', '工作流-节点审核完成', 'BPM-ACTIVITY-COMPLETE', 'MSG_BIZ_TYPE', '', 1, 'admin', '2020-02-14 20:56:07', 'admin', '2020-02-14 20:56:07', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1228301997296328706, 1227533577630023681, '', 4, 0, 0, '', '工作流-流程驳回发起人', 'BPM-PROCESS-CANCELED', 'MSG_BIZ_TYPE', '', 1, 'admin', '2020-02-14 20:56:32', 'admin', '2020-02-14 20:56:32', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1227569409795588097, 1227569322285629441, '', 0, 0, 0, '', '短信通道', 'SMS', 'MSG_CHANNEL', '', 1, 'admin', '2020-02-12 20:25:29', 'admin', '2020-02-12 20:25:29', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1227569449708584962, 1227569322285629441, '', 1, 0, 0, '', '邮件通道', 'EMAIL', 'MSG_CHANNEL', '', 1, 'admin', '2020-02-12 20:25:39', 'admin', '2020-02-12 20:25:39', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1227569515156504577, 1227569322285629441, '', 2, 0, 0, '', '微信公众号通道', 'WECHAT', 'MSG_CHANNEL', '', 1, 'admin', '2020-02-12 20:25:54', 'admin', '2020-02-12 20:45:33', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1227569571796385793, 1227569322285629441, '', 3, 0, 0, '', '钉钉消息通道', 'DINGTALK', 'MSG_CHANNEL', '', 1, 'admin', '2020-02-12 20:26:08', 'admin', '2020-02-12 20:45:41', 0);

-- 初始化菜单权限
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1227522356952457218, 1067246875800000024, '', '', 3, 'icon-edit-square', 461, 'admin', '2020-02-12 17:18:31
', 'admin', '2020-02-12 17:18:31', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1227522576352305153, 1227522356952457218, 'msg/msgBizInfo', '', 0, 'icon-bulb', 471, 'admin', '2020-02-12 17:19:23
', 'admin', '2020-02-12 17:19:23', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1227522576352305154, 1227522576352305153, '', 'msg:msgBizInfo:page,msg:msgBizInfo:info', 1, '', 0, 'admin', '2020-02-12 17:19:23
', 'admin', '2020-02-12 17:19:23', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1227522576352305155, 1227522576352305153, '', 'msg:msgBizInfo:save', 1, '', 1, 'admin', '2020-02-12 17:19:23
', 'admin', '2020-02-12 17:19:23', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1227522576352305156, 1227522576352305153, '', 'msg:msgBizInfo:update', 1, '', 2, 'admin', '2020-02-12 17:19:23
', 'admin', '2020-02-12 17:19:23', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1227522576352305157, 1227522576352305153, '', 'msg:msgBizInfo:delete', 1, '', 3, 'admin', '2020-02-12 17:19:23
', 'admin', '2020-02-12 17:19:23', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1227522576352305158, 1227522576352305153, '', 'msg:msgBizInfo:export', 1, '', 4, 'admin', '2020-02-12 17:19:23
', 'admin', '2020-02-12 17:19:23', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1227522780333891585, 1227522356952457218, 'msg/msgBizChannel', '', 0, 'icon-setting', 481, 'admin', '2020-02-12 17:20:12
', 'admin', '2020-02-12 17:20:12', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1227522780333891586, 1227522780333891585, '', 'msg:msgBizChannel:page,msg:msgBizChannel:info', 1, '', 0, 'admin', '2020-02-12 17:20:12
', 'admin', '2020-02-12 17:20:12', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1227522780333891587, 1227522780333891585, '', 'msg:msgBizChannel:save', 1, '', 1, 'admin', '2020-02-12 17:20:12
', 'admin', '2020-02-12 17:20:12', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1227522780333891588, 1227522780333891585, '', 'msg:msgBizChannel:update', 1, '', 2, 'admin', '2020-02-12 17:20:12
', 'admin', '2020-02-12 17:20:12', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1227522780333891589, 1227522780333891585, '', 'msg:msgBizChannel:delete', 1, '', 3, 'admin', '2020-02-12 17:20:12
', 'admin', '2020-02-12 17:20:12', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1227522780333891590, 1227522780333891585, '', 'msg:msgBizChannel:export', 1, '', 4, 'admin', '2020-02-12 17:20:12
', 'admin', '2020-02-12 17:20:12', '0', '', 'C01', '1');

INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522357329944578,'sys_menu', 1227522356952457218, 'name', '业务消息管理', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305159,'sys_menu', 1227522576352305153, 'name', '通用业务信息', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305160,'sys_menu', 1227522576352305153, 'name', '通用业务信息', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305161,'sys_menu', 1227522576352305153, 'name', '通用业务信息', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305162,'sys_menu', 1227522576352305154, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305163,'sys_menu', 1227522576352305154, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305164,'sys_menu', 1227522576352305154, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305165,'sys_menu', 1227522576352305155, 'name', 'Add', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305166,'sys_menu', 1227522576352305155, 'name', '新增', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305167,'sys_menu', 1227522576352305155, 'name', '新增', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305168,'sys_menu', 1227522576352305156, 'name', 'Edit', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305169,'sys_menu', 1227522576352305156, 'name', '修改', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305170,'sys_menu', 1227522576352305156, 'name', '修改', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305171,'sys_menu', 1227522576352305157, 'name', 'Delete', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305172,'sys_menu', 1227522576352305157, 'name', '删除', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305173,'sys_menu', 1227522576352305157, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305174,'sys_menu', 1227522576352305158, 'name', 'Export', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305175,'sys_menu', 1227522576352305158, 'name', '导出', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522576352305176,'sys_menu', 1227522576352305158, 'name', '導出', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891591,'sys_menu', 1227522780333891585, 'name', '业务消息通道配置', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891592,'sys_menu', 1227522780333891585, 'name', '业务消息通道配置', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891593,'sys_menu', 1227522780333891585, 'name', '业务消息通道配置', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891594,'sys_menu', 1227522780333891586, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891595,'sys_menu', 1227522780333891586, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891596,'sys_menu', 1227522780333891586, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891597,'sys_menu', 1227522780333891587, 'name', 'Add', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891598,'sys_menu', 1227522780333891587, 'name', '新增', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891599,'sys_menu', 1227522780333891587, 'name', '新增', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891600,'sys_menu', 1227522780333891588, 'name', 'Edit', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891601,'sys_menu', 1227522780333891588, 'name', '修改', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891602,'sys_menu', 1227522780333891588, 'name', '修改', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891603,'sys_menu', 1227522780333891589, 'name', 'Delete', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891604,'sys_menu', 1227522780333891589, 'name', '删除', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891605,'sys_menu', 1227522780333891589, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891606,'sys_menu', 1227522780333891590, 'name', 'Export', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891607,'sys_menu', 1227522780333891590, 'name', '导出', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1227522780333891608,'sys_menu', 1227522780333891590, 'name', '導出', 'zh-TW');

-- 队列配置
INSERT INTO `api_queue_conf`(`id`, `queue_name`, `queue_desc`, `queue_size`, `consumer_class`, `consumer_num`, `sleep_millisecond`, `sleep_max_interval`, `status`, `creator`, `create_date`, `updater`, `update_date`) VALUES (1228219689524559873, 'COMMON_MSG', '通用消息发送', 10000, 'com.uniedp.modules.api.consumer.CommonMsgSendConsumerThread', 8, 1000, 10, 1, 'admin', '2020-02-14 15:29:28', 'admin', '2020-02-14 15:29:33');


-- 20200225

-- 钉钉消息类型字典
INSERT INTO sys_dict_type(id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date,version,remark)VALUES (1229328801178329090, '钉钉消息类型', 'DINGTALK_MSG_TYPE', 1, 1, 'admin', '2020-02-17 16:56:41', 'admin', '2020-02-17 16:56:41', null, '');
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1229329010474098690, 1229328801178329090, '', 1, 0, 0, '', '文本消息', 'text', 'DINGTALK_MSG_TYPE', '', 1, 'admin', '2020-02-17 16:57:31', 'admin', '2020-02-17 16:57:31', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1229329058125586434, 1229328801178329090, '', 2, 0, 0, '', '链接消息', 'link', 'DINGTALK_MSG_TYPE', '', 1, 'admin', '2020-02-17 16:57:42', 'admin', '2020-02-17 16:57:42', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1229329113108717570, 1229328801178329090, '', 3, 0, 0, '', '卡片消息', 'action_card', 'DINGTALK_MSG_TYPE', '', 1, 'admin', '2020-02-17 16:57:55', 'admin', '2020-02-17 16:57:55', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1229329173770936322, 1229328801178329090, '', 4, 0, 0, '', '图片消息', 'image', 'DINGTALK_MSG_TYPE', '', 1, 'admin', '2020-02-17 16:58:10', 'admin', '2020-02-17 16:58:10', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1229329217219731458, 1229328801178329090, '', 5, 0, 0, '', '文件消息', 'file', 'DINGTALK_MSG_TYPE', '', 1, 'admin', '2020-02-17 16:58:20', 'admin', '2020-02-17 16:58:20', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1232224513395687426, 1229328801178329090, '', 6, 0, 0, '', 'markdown消息', 'markdown', 'DINGTALK_MSG_TYPE', '', 1, 'admin', '2020-02-25 16:43:12', 'admin', '2020-02-25 16:43:12', 0);

-- 增加字段
ALTER TABLE msg_dingtalk_template ADD COLUMN msg_type VARCHAR (64)  COMMENT '消息类型';

-- 消息中心优化 站内信增加模板功能
CREATE TABLE `msg_record_template` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `app_id` varchar(64) NOT NULL COMMENT 'app id （PT公用）',
  `signature_code` varchar(64) NOT NULL COMMENT '签名码',
  `template_id` varchar(64) NOT NULL COMMENT '模板编号',
  `template_name` varchar(100) DEFAULT NULL COMMENT '模板名称',
  `content` varchar(1000) DEFAULT NULL COMMENT '正文模板',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='站内信模板';

CREATE INDEX ind_msg_record_template_1 USING BTREE ON msg_record_template (template_id);

-- INSERT INTO msg_record_template
-- (id, app_id, signature_code, template_id, template_name, content, creator, create_date, updater, update_date)
-- VALUES(1232209379109052417, 'EDP', 'SN01', '1', '演示模板', '{"title":"${title}","content":"${content}","type":"${type}","level":"${level}","url":"${url}"}', 'admin', '2020-02-25 15:43:04.000', 'admin', '2020-02-25 16:58:01.000');

INSERT INTO sys_menu
(id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag)
VALUES(1232227601011163137, 1232196938341953537, '', 'msg:msgRecordTemplate:send', 1, '', '', '', '', 14, 'admin', '2020-02-25 16:55:28.000', 'admin', '2020-02-25 16:55:28.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu
(id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag)
VALUES(1232196938341953537, 1195167841647497218, 'msg/msgRecordTemplate', NULL, 0, 'icon-time-circle', NULL, NULL, NULL, 491, 'admin', '2020-02-25 14:53:38.000', 'admin', '2020-02-25 14:53:38.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu
(id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag)
VALUES(1232196938341953538, 1232196938341953537, NULL, 'msg:msgRecordTemplate:page,msg:msgRecordTemplate:info', 1, NULL, NULL, NULL, NULL, 0, 'admin', '2020-02-25 14:53:38.000', 'admin', '2020-02-25 14:53:38.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu
(id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag)
VALUES(1232196938341953539, 1232196938341953537, NULL, 'msg:msgRecordTemplate:save', 1, NULL, NULL, NULL, NULL, 1, 'admin', '2020-02-25 14:53:38.000', 'admin', '2020-02-25 14:53:38.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu
(id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag)
VALUES(1232196938341953540, 1232196938341953537, NULL, 'msg:msgRecordTemplate:update', 1, NULL, NULL, NULL, NULL, 2, 'admin', '2020-02-25 14:53:38.000', 'admin', '2020-02-25 14:53:38.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu
(id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag)
VALUES(1232196938341953541, 1232196938341953537, NULL, 'msg:msgRecordTemplate:delete', 1, NULL, NULL, NULL, NULL, 3, 'admin', '2020-02-25 14:53:38.000', 'admin', '2020-02-25 14:53:38.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu
(id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag)
VALUES(1232196938341953542, 1232196938341953537, NULL, 'msg:msgRecordTemplate:export', 1, NULL, NULL, NULL, NULL, 4, 'admin', '2020-02-25 14:53:38.000', 'admin', '2020-02-25 14:53:38.000', '0', NULL, 'C01', 1);

INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953543, 'sys_menu', 1232196938341953537, 'name', '站内信模板', 'en-US');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953544, 'sys_menu', 1232196938341953537, 'name', '站内信模板', 'zh-CN');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953545, 'sys_menu', 1232196938341953537, 'name', '站内信模板', 'zh-TW');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953546, 'sys_menu', 1232196938341953538, 'name', 'View', 'en-US');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953547, 'sys_menu', 1232196938341953538, 'name', '查看', 'zh-CN');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953548, 'sys_menu', 1232196938341953538, 'name', '查看', 'zh-TW');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953549, 'sys_menu', 1232196938341953539, 'name', 'Add', 'en-US');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953550, 'sys_menu', 1232196938341953539, 'name', '新增', 'zh-CN');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953551, 'sys_menu', 1232196938341953539, 'name', '新增', 'zh-TW');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953552, 'sys_menu', 1232196938341953540, 'name', 'Edit', 'en-US');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953553, 'sys_menu', 1232196938341953540, 'name', '修改', 'zh-CN');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953554, 'sys_menu', 1232196938341953540, 'name', '修改', 'zh-TW');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953555, 'sys_menu', 1232196938341953541, 'name', 'Delete', 'en-US');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953556, 'sys_menu', 1232196938341953541, 'name', '删除', 'zh-CN');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953557, 'sys_menu', 1232196938341953541, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953558, 'sys_menu', 1232196938341953542, 'name', 'Export', 'en-US');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953559, 'sys_menu', 1232196938341953542, 'name', '导出', 'zh-CN');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232196938341953560, 'sys_menu', 1232196938341953542, 'name', '導出', 'zh-TW');
INSERT INTO sys_language
(id, table_name, table_id, field_name, field_value, `language`)
VALUES(1232227601816469506, 'sys_menu', 1232227601011163137, 'name', '模拟发送', 'zh-CN');

-- 消息队列 增加站内信通道
INSERT INTO sys_dict_data
(id, pid, pids, sort, is_leaf, `level`, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)
VALUES(1232543468966948865, 1227569322285629441, '', 4, 0, 0, NULL, '站内信', 'SITE', 'MSG_CHANNEL', '', 1, 'admin', '2020-02-26 13:50:37.000', 'admin', '2020-02-26 13:50:37.000', 0);

-- ----------------------------------------------------------------------------------------------------

-- 6.4
ALTER TABLE `bpm_task_ext` ADD COLUMN `model_key` varchar(64) NULL COMMENT '模型key' AFTER `id`;
ALTER TABLE `bpm_task_ext` DROP INDEX `uq_bpm_node_id`;
ALTER TABLE `bpm_task_ext` ADD UNIQUE INDEX `uq_bpm_node_id`(`task_def_id`, `model_key`, `tenant_id`) USING BTREE COMMENT '节点id';

ALTER TABLE `sys_user_open` ADD UNIQUE INDEX(`user_id`, `type`, `appid`);

-- ----------------------------------------------------------------------------------------------------


-- 6.4.1

create table api_audit_conf (
id bigint(20) not null comment '主键' primary key,
audit_code varchar(64) not null comment '主题编号',
audit_name varchar(128) not null comment '标题',
remark varchar(256) null comment '备注说明',
class_name varchar(64) not null comment '接口实际处理服务类',
method_name varchar(64) not null comment '接口实际处理服务方法',
creator varchar(64) null comment '创建者',
create_date datetime null comment '创建时间',
updater varchar(64) null comment '更新者',
update_date datetime null comment '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='数据审计配置表';

create unique index uidx_api_audit_conf_1 on api_audit_conf(audit_code);

create table api_audit_log (
id bigint(20) not null comment '主键' primary key,
audit_code varchar(64) not null comment '主题编号',
audit_name varchar(128) not null comment '标题',
audit_status tinyint(3) not null comment '状态 1成功0失败',
url varchar(128) null comment '业务提供的展示页面',
remark varchar(256) null comment '结果说明',
audit_params text null comment 'JSON存储参数',
audit_result text null comment 'JSON存储返回的结果',
creator varchar(64) null comment '创建者',
create_date datetime null comment '创建时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='数据审计日志表';

create index idx_api_audit_log_1 on api_audit_log(audit_code);

CREATE TABLE `bpm_variable_repair` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `biz_id` bigint(20) NOT NULL COMMENT '业务id',
  `proc_inst_id` varchar(100) NOT NULL COMMENT '流程id',
  `class_name` varchar(100) NOT NULL COMMENT '业务类',
  `method_name` varchar(100) NOT NULL COMMENT '业务方法',
  `variable_name` varchar(100) NOT NULL COMMENT '变量名',
  `status` tinyint(3) DEFAULT 0 COMMENT '状态0默认1已处理',
  `remark` varchar(1024) DEFAULT NULL COMMENT '执行说明',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `idx_bpm_variable_repair_1` (`status`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='流程变量修复表';

alter table bpm_variable_repair add (
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间'
);

-- 丢失的字典 按需添加

INSERT INTO sys_dict_type(id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date,version,remark)VALUES (1238305861201555457, '会签人数类型', 'FLOW_MULINST_PERSON_TYPE', 0, 1, 'admin', '2020-03-13 11:28:19', 'admin', '2020-03-13 11:28:19', null, '');

INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1238305958857535490, 1238305861201555457, '', 0, 0, 0, '', '固定人数', '0', 'FLOW_MULINST_PERSON_TYPE', '', 1, 'admin', '2020-03-13 11:28:42', 'admin', '2020-03-13 11:28:42', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1238306017598763010, 1238305861201555457, '', 1, 0, 0, '', '自定义变量', '1', 'FLOW_MULINST_PERSON_TYPE', '', 1, 'admin', '2020-03-13 11:28:56', 'admin', '2020-03-13 11:28:56', 0);

INSERT INTO sys_dict_type
(id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date, version, remark)
VALUES(1122756681083203586, '初始密码策略', 'PWD_INIT', 1, 1, 'admin', '2019-04-29 14:57:07.000', 'admin', '2019-04-29 14:57:07.000', NULL, '');
INSERT INTO sys_dict_type
(id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date, version, remark)
VALUES(1122750253782085634, '密码安全等级', 'PWD_LEVEL', 1, 1, 'admin', '2019-04-29 14:31:35.000', 'admin', '2019-04-29 14:31:35.000', NULL, '');
INSERT INTO sys_dict_type
(id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date, version, remark)
VALUES(1122757206625300482, '密码修改策略', 'PWD_MODIFY', 1, 1, 'admin', '2019-04-29 14:59:13.000', 'admin', '2019-04-29 14:59:13.000', NULL, '');

-- 新增表菜单

INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1237286813009391617, 1211910369172189186, '', '', 3, 'icon-dashboard', 201, 'admin', '2020-03-10 15:58:59
', 'admin', '2020-03-10 16:32:11', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1237287004521312257, 1237286813009391617, 'api/apiAuditConf', '', 0, 'icon-setting', 561, 'admin', '2020-03-10 15:59:44
', 'admin', '2020-03-10 15:59:44', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1237287004521312258, 1237287004521312257, '', 'api:apiAuditConf:page,api:apiAuditConf:info', 1, '', 0, 'admin', '2020-03-10 15:59:44
', 'admin', '2020-03-10 15:59:44', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1237287004521312259, 1237287004521312257, '', 'api:apiAuditConf:save', 1, '', 1, 'admin', '2020-03-10 15:59:44
', 'admin', '2020-03-10 15:59:44', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1237287004521312260, 1237287004521312257, '', 'api:apiAuditConf:update', 1, '', 2, 'admin', '2020-03-10 15:59:44
', 'admin', '2020-03-10 15:59:44', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1237287004521312261, 1237287004521312257, '', 'api:apiAuditConf:delete', 1, '', 3, 'admin', '2020-03-10 15:59:44
', 'admin', '2020-03-10 15:59:44', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1237287004521312262, 1237287004521312257, '', 'api:apiAuditConf:export', 1, '', 4, 'admin', '2020-03-10 15:59:44
', 'admin', '2020-03-10 15:59:44', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1237295296995864577, 1237286813009391617, 'api/apiAuditLog', '', 0, 'icon-edit-square', 571, 'admin', '2020-03-10 16:32:41
', 'admin', '2020-03-10 16:33:00', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1237295296995864578, 1237295296995864577, '', 'api:apiAuditLog:page,api:apiAuditLog:info', 1, '', 0, 'admin', '2020-03-10 16:32:41
', 'admin', '2020-03-10 16:32:41', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1237295296995864582, 1237295296995864577, '', 'api:apiAuditLog:export', 1, '', 4, 'admin', '2020-03-10 16:32:41
', 'admin', '2020-03-10 16:32:41', '0', '', 'C01', '1');

INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237286813563039746,'sys_menu', 1237286813009391617, 'name', '数据审计管理', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312263,'sys_menu', 1237287004521312257, 'name', '数据审计配置', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312264,'sys_menu', 1237287004521312257, 'name', '数据审计配置', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312265,'sys_menu', 1237287004521312257, 'name', '数据审计配置', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312266,'sys_menu', 1237287004521312258, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312267,'sys_menu', 1237287004521312258, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312268,'sys_menu', 1237287004521312258, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312269,'sys_menu', 1237287004521312259, 'name', 'Add', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312270,'sys_menu', 1237287004521312259, 'name', '新增', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312271,'sys_menu', 1237287004521312259, 'name', '新增', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312272,'sys_menu', 1237287004521312260, 'name', 'Edit', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312273,'sys_menu', 1237287004521312260, 'name', '修改', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312274,'sys_menu', 1237287004521312260, 'name', '修改', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312275,'sys_menu', 1237287004521312261, 'name', 'Delete', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312276,'sys_menu', 1237287004521312261, 'name', '删除', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312277,'sys_menu', 1237287004521312261, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312278,'sys_menu', 1237287004521312262, 'name', 'Export', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312279,'sys_menu', 1237287004521312262, 'name', '导出', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237287004521312280,'sys_menu', 1237287004521312262, 'name', '導出', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237295296995864583,'sys_menu', 1237295296995864577, 'name', '数据审计日志表', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237295296995864584,'sys_menu', 1237295296995864577, 'name', '数据审计日志', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237295296995864585,'sys_menu', 1237295296995864577, 'name', '数据审计日志表', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237295296995864586,'sys_menu', 1237295296995864578, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237295296995864587,'sys_menu', 1237295296995864578, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237295296995864588,'sys_menu', 1237295296995864578, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237295296995864598,'sys_menu', 1237295296995864582, 'name', 'Export', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237295296995864599,'sys_menu', 1237295296995864582, 'name', '导出', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237295296995864600,'sys_menu', 1237295296995864582, 'name', '導出', 'zh-TW');

-- 异常消息联系人
CREATE TABLE `msg_biz_contact` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `biz_big_type` varchar(64) DEFAULT NULL COMMENT '业务类型 ',
  `biz_type_code` varchar(255) DEFAULT NULL COMMENT '业务小类 默认全部',
  `biz_type_name` varchar(64) DEFAULT NULL COMMENT '业务名称',
  `user_id` varchar(255) DEFAULT NULL COMMENT '通知人编码',
  `user_name` varchar(64) DEFAULT NULL COMMENT '通知人',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='消息推送联系人';

-- 是否消息推送
alter table api_notify_conf add msg_push tinyint(1);
-- 是否消息推送
alter table api_receipt_conf add msg_push tinyint(1);

-- 业务联系 业务大类
INSERT INTO sys_dict_type(id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date,version,remark)VALUES (1237268896818036738, '消息通知业务大类', 'MSG_BIZ_BIG_TYPE', 0, 1, 'admin', '2020-03-10 14:47:47', 'admin', '2020-03-11 16:18:15', null, '');

INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1237268966355402754, 1237268896818036738, '', 1, 0, 0, '', '接口网关', 'api', 'MSG_BIZ_BIG_TYPE', '', 1, 'admin', '2020-03-10 14:48:04', 'admin', '2020-03-10 14:48:04', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1237269017840484354, 1237268896818036738, '', 2, 0, 0, '', '数据审计', 'audit', 'MSG_BIZ_BIG_TYPE', '', 1, 'admin', '2020-03-10 14:48:16', 'admin', '2020-03-10 14:48:16', 0);
INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1237653848252403713, 1237268896818036738, '', 3, 0, 0, '', '调度中心', 'job', 'MSG_BIZ_BIG_TYPE', '', 1, 'admin', '2020-03-11 16:17:27', 'admin', '2020-03-13 15:18:24', 0);

-- 业务联系人选择调度中心用
INSERT INTO sys_dict_type(id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date,version,remark)VALUES (1237654497115426817, '调度中心通知类型', 'JOB_PUSH_TYPE', 0, 1, 'admin', '2020-03-11 16:20:01', 'admin', '2020-03-11 16:20:01', null, '');

INSERT INTO sys_dict_data(id, pid, pids, sort, is_leaf, level, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version)VALUES (1237654903178579970, 1237654497115426817, '', 1, 0, 0, '', '调度异常', 'EXCEPTION', 'JOB_PUSH_TYPE', '', 1, 'admin', '2020-03-11 16:21:38', 'admin', '2020-03-11 16:32:34', 0);

-- 通用业务消息推送业务类型 增加JOB
INSERT INTO `sys_dict_data` (`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES ('1237624281755029505', '1227533577630023681', '', '9', '0', '0', NULL, '定时任务-异常通知', 'JOB_ERR_MESS', 'MSG_BIZ_TYPE', '', '1', 'admin', '2020-03-11 14:19:57', 'admin', '2020-03-13 15:16:51', '0');
-- 增加参数
INSERT INTO `sys_params`(`id`, `param_code`, `param_value`, `param_type`, `remark`, `creator`, `create_date`, `updater`, `update_date`) VALUES (1238037143171895298, 'LOGIN_CONF', '{\"codeLength\":6,\"expiresSeconds\":300,\"mobileTemplateId\":\"SMS_179607254\",\"emailTemplateId\":\"TM_EML_1001\",\"emailTitle\":\"UNIEDP平台登录验证码\"}', 1, '登录系统配置', 'admin', '2020-03-12 17:40:31', 'admin', '2020-03-13 15:59:51');


-- 业务消息通知人菜单

INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1237260218173992961, 1227522356952457218, 'msg/msgBizContact', '', 0, 'icon-reloadtime', 551, 'admin', '2020-03-10 14:13:18
', 'admin', '2020-03-12 18:51:18', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1237260218173992962, 1237260218173992961, '', 'msg:msgBizContact:page,msg:msgBizContact:info', 1, '', 0, 'admin', '2020-03-10 14:13:18
', 'admin', '2020-03-12 18:44:54', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1237260218173992963, 1237260218173992961, '', 'msg:msgBizContact:save', 1, '', 1, 'admin', '2020-03-10 14:13:18
', 'admin', '2020-03-12 18:45:07', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1237260218173992964, 1237260218173992961, '', 'msg:msgBizContact:update', 1, '', 2, 'admin', '2020-03-10 14:13:18
', 'admin', '2020-03-12 18:45:21', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1237260218173992965, 1237260218173992961, '', 'msg:msgBizContact:delete', 1, '', 3, 'admin', '2020-03-10 14:13:18
', 'admin', '2020-03-12 18:45:34', '0', '', 'C01', '1');
INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date,is_important,menu_class,client,show_flag)VALUES (1237260218173992966, 1237260218173992961, '', 'msg:msgBizContact:export', 1, '', 4, 'admin', '2020-03-10 14:13:18
', 'admin', '2020-03-12 18:45:46', '0', '', 'C01', '1');

INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992967,'sys_menu', 1237260218173992961, 'name', '消息预警', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992968,'sys_menu', 1237260218173992961, 'name', '业务消息通知人', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992969,'sys_menu', 1237260218173992961, 'name', '消息预警', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992970,'sys_menu', 1237260218173992962, 'name', 'View', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992971,'sys_menu', 1237260218173992962, 'name', '查看', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992972,'sys_menu', 1237260218173992962, 'name', '查看', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992973,'sys_menu', 1237260218173992963, 'name', 'Add', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992974,'sys_menu', 1237260218173992963, 'name', '新增', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992975,'sys_menu', 1237260218173992963, 'name', '新增', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992976,'sys_menu', 1237260218173992964, 'name', 'Edit', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992977,'sys_menu', 1237260218173992964, 'name', '修改', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992978,'sys_menu', 1237260218173992964, 'name', '修改', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992979,'sys_menu', 1237260218173992965, 'name', 'Delete', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992980,'sys_menu', 1237260218173992965, 'name', '删除', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992981,'sys_menu', 1237260218173992965, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992982,'sys_menu', 1237260218173992966, 'name', 'Export', 'en-US');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992983,'sys_menu', 1237260218173992966, 'name', '导出', 'zh-CN');
INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (1237260218173992984,'sys_menu', 1237260218173992966, 'name', '導出', 'zh-TW');



-- 6.4.2

-- 1、用户行为 数据采集
-- 2、数据库审计、建模
-- 3、权限审计 - 数据权限审计、自定义权限审计、角色权限审计
-- 4、模块市场 - 填报模块、往来单位模块
-- 5、代码生成器升级 - 本次升级会清空所有代码生成器的表
-- 6、平台框架依赖升级 - mybatis plus 升级

-- 20200327
CREATE TABLE `sys_log_sql` (
  `id` bigint(20) NOT NULL DEFAULT '1' COMMENT '主键',
  `sql_str` text COMMENT 'sql 字符串',
  `execution_status` tinyint(1) DEFAULT '1' COMMENT '执行状态',
  `execute_rows` int(11) DEFAULT '0' COMMENT '执行影响行数',
  `execute_duration` int(11) DEFAULT '0' COMMENT '执行时长',
  `slow_duration` int(11) DEFAULT '0' COMMENT '最慢时长',
  `transactional_rows` int(11) DEFAULT '0' COMMENT '事务影响行数',
  `error_rows` int(11) DEFAULT '0' COMMENT '错误行数',
  `update_rows` int(11) DEFAULT '0' COMMENT '更新行数',
  `read_rows` int(11) DEFAULT '0' COMMENT '读取行数',
  `max_concurrent` int(11) DEFAULT '0' COMMENT '最大并发数',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='SQL执行监控日志表';

CREATE TABLE `sys_log_user_behavior` (
  `id` bigint(20) NOT NULL DEFAULT '1' COMMENT '主键',
  `user_name` varchar(64) NOT NULL COMMENT '操作用户编码',
  `real_name` varchar(128) DEFAULT NULL COMMENT '操作用户名',
  `ip` varchar(32) DEFAULT NULL COMMENT '操作IP',
  `user_agent` varchar(512) DEFAULT NULL COMMENT '用户代理',
  `client_type` varchar(100) DEFAULT NULL COMMENT '客户端类型',
  `opera_type` tinyint(2) DEFAULT NULL COMMENT '操作类型 0-菜单 1-按钮 2-动作',
  `opera_url` varchar(512) DEFAULT NULL COMMENT '页面所在的url',
  `opera_action` varchar(64) DEFAULT NULL COMMENT '页面操作动作',
  `opera_desc` varchar(64) DEFAULT NULL COMMENT '页面操作动作描述',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户行为日志分析表';

CREATE TABLE `dpd_column` (
  `id` bigint(20) NOT NULL,
  `column_name` varchar(64) DEFAULT NULL COMMENT '字段名称',
  `column_comment` varchar(64) DEFAULT NULL COMMENT '字段注释',
  `column_type` varchar(64) DEFAULT NULL COMMENT '字段类型',
  `column_type_id` bigint(20) DEFAULT NULL COMMENT '字段类型外键ID',
  `column_type_biz` varchar(64) DEFAULT NULL COMMENT '业务字段类型',
  `limit_flag` tinyint(1) DEFAULT NULL COMMENT '限定标识  1 可以修改',
  `is_nullable` tinyint(1) DEFAULT '0' COMMENT '是否为空',
  `column_default` varchar(64) DEFAULT NULL COMMENT '默认值',
  `max_length` int(11) unsigned DEFAULT NULL COMMENT '长度/精度',
  `numeric_scale` int(10) unsigned DEFAULT NULL COMMENT '小数位数',
  `db_type` varchar(20) DEFAULT NULL COMMENT '数据库类型',
  `sort` int(11) DEFAULT NULL COMMENT '排序',
  `remark` varchar(256) DEFAULT NULL COMMENT '备注说明',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='字段库';

CREATE TABLE `dpd_column_type` (
  `id` bigint(20) NOT NULL,
  `column_type` varchar(64) DEFAULT NULL COMMENT '字段类型',
  `column_type_biz` varchar(64) DEFAULT NULL COMMENT '业务类型',
  `limit_flag` tinyint(1) DEFAULT NULL COMMENT '限定标识  1 可以修改',
  `max_length` int(11) unsigned DEFAULT NULL COMMENT '长度/精度',
  `numeric_scale` int(10) unsigned DEFAULT NULL COMMENT '小数位数',
  `db_type` varchar(20) DEFAULT NULL COMMENT '数据库类型',
  `sort` int(11) DEFAULT NULL,
  `remark` varchar(256) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='字段类型';

CREATE TABLE `dpd_rule` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `rule_code` varchar(64) NOT NULL COMMENT '规则编号',
  `rule_name` varchar(128) NOT NULL COMMENT '规则名称',
  `rule_class` varchar(64) NOT NULL COMMENT '表分类',
  `db_type` varchar(64) NOT NULL COMMENT '数据库类型',
  `remark` varchar(256) DEFAULT NULL COMMENT '备注说明',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `idx_dpd_rule_1` (`rule_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='规则表';

CREATE TABLE `dpd_rule_columns` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `rule_id` bigint(20) NOT NULL COMMENT '规则表外键',
  `column_name` varchar(64) NOT NULL COMMENT '字段名称',
  `is_nullable` tinyint(1) DEFAULT NULL COMMENT '允许NULL',
  `column_default` varchar(64) DEFAULT NULL COMMENT '默认值',
  `column_type` varchar(64) NOT NULL COMMENT '字段类型',
  `max_length` int(11) unsigned DEFAULT NULL COMMENT '长度/精度',
  `numeric_scale` int(10) unsigned DEFAULT NULL COMMENT '小数位数',
  `column_key` varchar(3) DEFAULT NULL COMMENT 'KEY类型 PRI主键',
  `column_comment` varchar(128) DEFAULT NULL COMMENT '字段备注',
  `sort` int(11) DEFAULT NULL COMMENT '排序',
  `remark` varchar(256) DEFAULT NULL COMMENT '备注说明',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `idx_dpd_rule_columns_2` (`column_name`,`rule_id`) USING BTREE,
  KEY `idx_dpd_rule_columns_1` (`rule_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='规则字段';

CREATE TABLE `dpd_table` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `table_name` varchar(64) NOT NULL COMMENT '表名称',
  `table_comment` varchar(128) NOT NULL COMMENT '表备注',
  `is_update` tinyint(1) NOT NULL COMMENT '是否更新',
  `force_flag` tinyint(1) NOT NULL COMMENT '强制',
  `sync_flag` tinyint(1) DEFAULT NULL COMMENT '同步SQL标识',
  `rule_id` bigint(20) NOT NULL COMMENT '规则表外键',
  `rule_class` varchar(64) NOT NULL COMMENT '表分类-冗余',
  `db_type` varchar(64) NOT NULL COMMENT '数据库类型-冗余',
  `remark` varchar(256) DEFAULT NULL COMMENT '备注说明',
  `create_sql` text COMMENT '建表SQL',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `idx_dpd_table_1` (`table_name`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='新建表';

CREATE TABLE `dpd_table_columns` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `table_id` bigint(20) NOT NULL COMMENT '表外键',
  `column_name` varchar(64) NOT NULL COMMENT '字段名称',
  `is_nullable` tinyint(1) DEFAULT NULL COMMENT '允许NULL',
  `column_default` varchar(64) DEFAULT NULL COMMENT '默认值',
  `column_type` varchar(64) NOT NULL COMMENT '字段类型',
  `column_type_id` bigint(20) DEFAULT NULL COMMENT '字段类型外键ID',
  `column_type_biz` varchar(64) DEFAULT NULL COMMENT '业务字段类型',
  `limit_flag` tinyint(1) DEFAULT NULL COMMENT '是否限定1限定',
  `max_length` int(11) unsigned DEFAULT NULL COMMENT '长度/精度',
  `numeric_scale` int(10) unsigned DEFAULT NULL COMMENT '小数位数',
  `column_key` varchar(3) DEFAULT NULL COMMENT 'KEY类型 PRI主键',
  `column_comment` varchar(128) DEFAULT NULL COMMENT '字段备注',
  `sort` int(10) DEFAULT NULL COMMENT '排序',
  `remark` varchar(256) DEFAULT NULL COMMENT '备注说明',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `idx_dpd_table_columns_2` (`column_name`,`table_id`) USING BTREE,
  KEY `idx_dpd_table_columns_1` (`table_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='新建表字段';

CREATE TABLE `drs_form_def` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `form_code` varchar(64) NOT NULL COMMENT '表单编码',
  `form_name` varchar(256) NOT NULL COMMENT '表单名称',
  `form_class` varchar(255) DEFAULT NULL COMMENT '表单分类',
  `form_type` varchar(64) NOT NULL COMMENT '表单类型 0-设计器生成 1-自定义代码',
  `form_content` text NOT NULL COMMENT '表单内容',
  `form_action` varchar(255) DEFAULT NULL COMMENT '表单动作',
  `sort` varchar(255) DEFAULT NULL COMMENT '表单排序',
  `remote_func` text COMMENT '表单远程方法',
  `model_flag` tinyint(1) DEFAULT '0' COMMENT '是否建模',
  `model_code` varchar(255) DEFAULT NULL COMMENT '数据库建模编码 数据库表名',
  `model_id` bigint(20) DEFAULT NULL COMMENT '数据模型表id',
  `status` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '表单状态',
  `remark` varchar(256) DEFAULT NULL COMMENT '备注说明',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='数据填报-表单定义表';

CREATE TABLE `drs_form_inst` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `form_code` varchar(64) NOT NULL COMMENT '表单编码',
  `form_name` varchar(256) NOT NULL COMMENT '表单名称',
  `form_id` bigint(20) NOT NULL COMMENT '表单id',
  `model_code` varchar(255) NOT NULL COMMENT '数据库建模编码 数据库表名',
  `biz_id` bigint(20) NOT NULL COMMENT '业务数据id',
  `biz_desc` varchar(255) DEFAULT NULL COMMENT '业务数据描述',
  `biz_status` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '业务数据状态',
  `remark` varchar(256) DEFAULT NULL COMMENT '备注说明',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='数据填报-表单定义表';

-- select * from sys_dict_type t where t.update_date > DATE(date_sub(now(),interval 12 day));
-- select * from sys_dict_data t where t.update_date > DATE(date_sub(now(),interval 12 day));

delete from sys_dict_type where id in (1239734011932405762,1240088204509687810,1240452071673180161,1240540249898115074);
delete from sys_dict_data where id in (1239487900249255937,1239734100381888513,1239734150449295362,1239734238336741377,1240088333417426946,1240088393823793154,1240452409931214850,1240452451744231425,1240540339786244097);

INSERT INTO sys_dict_type (id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date, version, remark) VALUES(1239734011932405762, '数据库审计-表分类', 'DPD_RULE_CLASS', 0, 1, 'admin', '2020-03-17 10:03:16.000', 'admin', '2020-03-18 09:32:32.000', NULL, '');
INSERT INTO sys_dict_type (id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date, version, remark) VALUES(1240088204509687810, '数据库类型', 'DATABASE_TYPE', 1, 1, 'admin', '2020-03-18 09:30:42.000', 'admin', '2020-03-18 09:32:39.000', NULL, '');
INSERT INTO sys_dict_type (id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date, version, remark) VALUES(1240452071673180161, '用户类型', 'SYS_USER_TYPE', 1, 1, 'admin', '2020-03-19 09:36:35.000', 'admin', '2020-03-19 09:36:35.000', NULL, '');
INSERT INTO sys_dict_type (id, dict_name, dict_type, is_sys, status, creator, create_date, updater, update_date, version, remark) VALUES(1240540249898115074, '表单设计-表单分类', 'FORM_CLASS', 0, 1, 'admin', '2020-03-19 15:26:58.000', 'admin', '2020-03-19 15:26:58.000', NULL, '');

INSERT INTO sys_dict_data (id, pid, pids, sort, is_leaf, `level`, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version) VALUES(1239487900249255937, 1186518011306156033, '', 2, 0, 0, NULL, '单体应用-树表操作(tab页)', 'crud-tree-tab', 'GEN_TEMP_TYPE', '', 1, 'admin', '2020-03-16 17:45:19.000', 'admin', '2020-03-16 17:47:03.000', 0);
INSERT INTO sys_dict_data (id, pid, pids, sort, is_leaf, `level`, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version) VALUES(1239734100381888513, 1239734011932405762, '', 0, 0, 0, NULL, '单表', 'T01', 'DPD_RULE_CLASS', '', 1, 'admin', '2020-03-17 10:03:37.000', 'admin', '2020-03-17 10:03:37.000', 0);
INSERT INTO sys_dict_data (id, pid, pids, sort, is_leaf, `level`, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version) VALUES(1239734150449295362, 1239734011932405762, '', 1, 0, 0, NULL, '树表', 'T02', 'DPD_RULE_CLASS', '', 1, 'admin', '2020-03-17 10:03:49.000', 'admin', '2020-03-17 10:03:49.000', 0);
INSERT INTO sys_dict_data (id, pid, pids, sort, is_leaf, `level`, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version) VALUES(1239734238336741377, 1239734011932405762, '', 2, 0, 0, NULL, '主子表 - 子', 'T03', 'DPD_RULE_CLASS', '', 1, 'admin', '2020-03-17 10:04:10.000', 'admin', '2020-03-18 09:32:55.000', 0);
INSERT INTO sys_dict_data (id, pid, pids, sort, is_leaf, `level`, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version) VALUES(1240088333417426946, 1240088204509687810, '', 0, 0, 0, NULL, 'MySQL', 'mysql', 'DATABASE_TYPE', '', 1, 'admin', '2020-03-18 09:31:13.000', 'admin', '2020-03-18 09:31:13.000', 0);
INSERT INTO sys_dict_data (id, pid, pids, sort, is_leaf, `level`, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version) VALUES(1240088393823793154, 1240088204509687810, '', 1, 0, 0, NULL, 'Oracle', 'oracle', 'DATABASE_TYPE', '', 1, 'admin', '2020-03-18 09:31:27.000', 'admin', '2020-03-18 09:31:27.000', 0);
INSERT INTO sys_dict_data (id, pid, pids, sort, is_leaf, `level`, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version) VALUES(1240452409931214850, 1240452071673180161, '', 1, 0, 0, NULL, '员工', '101', 'SYS_USER_TYPE', '', 1, 'admin', '2020-03-19 09:37:56.000', 'admin', '2020-03-19 10:02:09.000', 0);
INSERT INTO sys_dict_data (id, pid, pids, sort, is_leaf, `level`, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version) VALUES(1240452451744231425, 1240452071673180161, '', 2, 0, 0, NULL, '往来单位', '102', 'SYS_USER_TYPE', '', 1, 'admin', '2020-03-19 09:38:06.000', 'admin', '2020-03-19 09:46:11.000', 0);
INSERT INTO sys_dict_data (id, pid, pids, sort, is_leaf, `level`, pnames, dict_label, dict_value, dict_type, remark, status, creator, create_date, updater, update_date, version) VALUES(1240540339786244097, 1240540249898115074, '', 0, 0, 0, NULL, '财务表单', '0', 'FORM_CLASS', '', 1, 'admin', '2020-03-19 15:27:20.000', 'admin', '2020-03-19 15:27:20.000', 0);


-- select * from sys_menu t where t.update_date > DATE(date_sub(now(),interval 12 day))
--
-- select * from sys_language t where t.table_id in (
-- select id from sys_menu t where t.update_date > DATE(date_sub(now(),interval 12 day))
-- )

delete from sys_menu where id in (1110386559477112834,1111643626912608257,1239469165237006337,1239469165237006338,1239469165237006339,1239469165237006340,1239469165237006341,1239469165237006342,1239735762999730177,1239803396873195522,1239803396873195523,1239803396873195524,1239803396873195525,1239803396873195526,1239803396873195527,1239810849740857346,1239810849740857347,1239810849740857348,1239810849740857349,1239810849740857350,1239810849740857351,1240096699762561025,1240096699762561026,1240096699762561027,1240096699762561028,1240096699762561029,1240096699762561030,1240149722375258113,1240151290801684481,1240151368337588225,1240151423320719361,1240151512093163522,1240178687567126530,1240178687567126531,1240178687567126532,1240178687567126533,1240178687567126534,1240537779146969089,1240538506661580802,1240539179507634177,1240539179511828481,1240539179511828482,1240539179511828483,1240539179511828484,1240817213535096833,1240924846725017601,1241597648583057410,1241597648583057411,1241597648583057412,1241597648583057413,1241597648583057414,1242329312044154881,1242329516176736258,1242383237305266178,1242716671051853826,1242716671056048130,1242716671056048131,1242716671056048132,1242716671056048133,1242717730512072705,1242717730512072706,1242717730512072707,1242717730512072708,1242717730512072709);
delete from sys_language where id in (277,278,279,293,294,295,1239469165237006343,1239469165237006344,1239469165237006345,1239469165237006346,1239469165237006347,1239469165237006348,1239469165237006349,1239469165237006350,1239469165237006351,1239469165237006352,1239469165237006353,1239469165237006354,1239469165237006355,1239469165237006356,1239469165237006357,1239469165237006358,1239469165237006359,1239469165237006360,1239735763322691586,1239803396873195528,1239803396873195529,1239803396873195530,1239803396873195531,1239803396873195532,1239803396873195533,1239803396873195534,1239803396873195535,1239803396873195536,1239803396873195537,1239803396873195538,1239803396873195539,1239803396873195540,1239803396873195541,1239803396873195542,1239803396873195543,1239803396873195544,1239803396873195545,1239810849740857352,1239810849740857353,1239810849740857354,1239810849740857355,1239810849740857356,1239810849740857357,1239810849740857358,1239810849740857359,1239810849740857360,1239810849740857361,1239810849740857362,1239810849740857363,1239810849740857364,1239810849740857365,1239810849740857366,1239810849740857367,1239810849740857368,1239810849740857369,1240096699762561031,1240096699762561032,1240096699762561033,1240096699762561034,1240096699762561035,1240096699762561036,1240096699762561037,1240096699762561038,1240096699762561039,1240096699762561040,1240096699762561041,1240096699762561042,1240096699762561043,1240096699762561044,1240096699762561045,1240096699762561046,1240096699762561047,1240096699762561048,1240149722597556225,1240151291078508546,1240151368538914818,1240151423698206721,1240151512294490113,1240178688607313922,1240178688758308865,1240178688892526594,1240178689035132929,1240178689177739265,1240178689328734210,1240178689483923458,1240178689626529794,1240178689773330433,1240178689928519682,1240178690071126018,1240178690243092482,1240178690381504514,1240178690515722242,1240178690654134274,1240537779545427970,1240538506871296002,1240539180203888641,1240539180308746242,1240539180409409537,1240539180518461442,1240539180614930434,1240539180736565250,1240539180828839937,1240539180929503233,1240539181030166529,1240539181122441217,1240539181269241858,1240539181369905153,1240539181470568449,1240539181604786178,1240539181705449473,1240817213967110145,1240924847412883458,1241597650495660034,1241597650629877762,1241597650751512578,1241597650877341697,1241597651007365121,1241597651187720194,1241597651313549314,1241597651439378433,1241597651607150593,1241597651732979714,1241597651858808833,1241597652047552513,1241597652173381633,1241597652299210754,1241597652475371522,1242329312224509953,1242329516352897025,1242383237561118722,1242716672628912129,1242716672813461505,1242716673023176706,1242716673203531777,1242716673396469761,1242716673555853313,1242716673719431170,1242716673878814722,1242716674042392578,1242716674222747650,1242716674377936898,1242716674545709058,1242716674700898306,1242716674868670466,1242716675032248322,1242717731346739201,1242717731661312001,1242717731803918338,1242717731933941761,1242717732063965185,1242717732223348738,1242717732357566465,1242717732487589890,1242717732617613314,1242717732747636737,1242717732865077249,1242717733062209538,1242717733192232961,1242717733322256385,1242717733477445633);

INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1110386559477112834, 1108978773529309186, 'sys/pwdAudit', '', 0, 'icon-idcard', NULL, NULL, NULL, 52, 'admin', '2019-03-26 11:42:40.000', 'admin', '2020-03-25 09:28:30.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1111643626912608257, 1108978773529309186, 'sys/privilegeAudit', '', 0, 'icon-down-circle', NULL, NULL, NULL, 42, 'admin', '2019-03-29 22:57:49.000', 'admin', '2020-03-25 09:28:19.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239469165237006337, 1129274780424445954, 'bpm/bpmVariableRepair', NULL, 0, 'icon-warning-circle', NULL, NULL, NULL, 581, 'admin', '2020-03-16 16:30:52.000', 'admin', '2020-03-16 16:30:52.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239469165237006338, 1239469165237006337, NULL, 'bpm:bpmVariableRepair:page,bpm:bpmVariableRepair:info', 1, NULL, NULL, NULL, NULL, 0, 'admin', '2020-03-16 16:30:52.000', 'admin', '2020-03-16 16:30:52.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239469165237006339, 1239469165237006337, NULL, 'bpm:bpmVariableRepair:save', 1, NULL, NULL, NULL, NULL, 1, 'admin', '2020-03-16 16:30:52.000', 'admin', '2020-03-16 16:30:52.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239469165237006340, 1239469165237006337, NULL, 'bpm:bpmVariableRepair:update', 1, NULL, NULL, NULL, NULL, 2, 'admin', '2020-03-16 16:30:52.000', 'admin', '2020-03-16 16:30:52.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239469165237006341, 1239469165237006337, NULL, 'bpm:bpmVariableRepair:delete', 1, NULL, NULL, NULL, NULL, 3, 'admin', '2020-03-16 16:30:52.000', 'admin', '2020-03-16 16:30:52.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239469165237006342, 1239469165237006337, NULL, 'bpm:bpmVariableRepair:export', 1, NULL, NULL, NULL, NULL, 4, 'admin', '2020-03-16 16:30:52.000', 'admin', '2020-03-16 16:30:52.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239735762999730177, 1240537779146969089, '', '', 3, 'icon-attachment', '', '', '', 20, 'admin', '2020-03-17 10:10:14.000', 'admin', '2020-03-19 15:18:40.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239803396873195522, 1239735762999730177, 'dpd/dpdRule', NULL, 0, 'icon-container-fill', NULL, NULL, NULL, 30, 'admin', '2020-03-17 14:38:59.000', 'admin', '2020-03-18 16:37:32.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239803396873195523, 1239803396873195522, '', 'dpd:dpdRule:page,dpd:dpdRule:info,dpd:dpdRuleConf:info', 1, '', '', '', '', 0, 'admin', '2020-03-17 14:38:59.000', 'admin', '2020-03-17 16:22:58.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239803396873195524, 1239803396873195522, NULL, 'dpd:dpdRule:save', 1, NULL, NULL, NULL, NULL, 1, 'admin', '2020-03-17 14:38:59.000', 'admin', '2020-03-17 14:38:59.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239803396873195525, 1239803396873195522, NULL, 'dpd:dpdRule:update', 1, NULL, NULL, NULL, NULL, 2, 'admin', '2020-03-17 14:38:59.000', 'admin', '2020-03-17 14:38:59.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239803396873195526, 1239803396873195522, NULL, 'dpd:dpdRule:delete', 1, NULL, NULL, NULL, NULL, 3, 'admin', '2020-03-17 14:38:59.000', 'admin', '2020-03-17 14:38:59.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239803396873195527, 1239803396873195522, NULL, 'dpd:dpdRule:export', 1, NULL, NULL, NULL, NULL, 4, 'admin', '2020-03-17 14:38:59.000', 'admin', '2020-03-17 14:38:59.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239810849740857346, 1239735762999730177, 'dpd/dpdColumn', NULL, 0, 'icon-container', NULL, NULL, NULL, 20, 'admin', '2020-03-17 15:08:36.000', 'admin', '2020-03-18 16:37:20.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239810849740857347, 1239810849740857346, NULL, 'dpd:dpdColumn:page,dpd:dpdColumn:info', 1, NULL, NULL, NULL, NULL, 0, 'admin', '2020-03-17 15:08:36.000', 'admin', '2020-03-17 15:08:36.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239810849740857348, 1239810849740857346, NULL, 'dpd:dpdColumn:save', 1, NULL, NULL, NULL, NULL, 1, 'admin', '2020-03-17 15:08:36.000', 'admin', '2020-03-17 15:08:36.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239810849740857349, 1239810849740857346, NULL, 'dpd:dpdColumn:update', 1, NULL, NULL, NULL, NULL, 2, 'admin', '2020-03-17 15:08:36.000', 'admin', '2020-03-17 15:08:36.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239810849740857350, 1239810849740857346, NULL, 'dpd:dpdColumn:delete', 1, NULL, NULL, NULL, NULL, 3, 'admin', '2020-03-17 15:08:36.000', 'admin', '2020-03-17 15:08:36.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1239810849740857351, 1239810849740857346, NULL, 'dpd:dpdColumn:export', 1, NULL, NULL, NULL, NULL, 4, 'admin', '2020-03-17 15:08:36.000', 'admin', '2020-03-17 15:08:36.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240096699762561025, 1239735762999730177, 'dpd/dpdColumnType', NULL, 0, 'icon-diff', NULL, NULL, NULL, 10, 'admin', '2020-03-18 10:04:28.000', 'admin', '2020-03-18 16:37:10.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240096699762561026, 1240096699762561025, NULL, 'dpd:dpdColumnType:page,dpd:dpdColumnType:info', 1, NULL, NULL, NULL, NULL, 0, 'admin', '2020-03-18 10:04:28.000', 'admin', '2020-03-18 10:04:28.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240096699762561027, 1240096699762561025, NULL, 'dpd:dpdColumnType:save', 1, NULL, NULL, NULL, NULL, 1, 'admin', '2020-03-18 10:04:28.000', 'admin', '2020-03-18 10:04:28.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240096699762561028, 1240096699762561025, NULL, 'dpd:dpdColumnType:update', 1, NULL, NULL, NULL, NULL, 2, 'admin', '2020-03-18 10:04:28.000', 'admin', '2020-03-18 10:04:28.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240096699762561029, 1240096699762561025, NULL, 'dpd:dpdColumnType:delete', 1, NULL, NULL, NULL, NULL, 3, 'admin', '2020-03-18 10:04:28.000', 'admin', '2020-03-18 10:04:28.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240096699762561030, 1240096699762561025, NULL, 'dpd:dpdColumnType:export', 1, NULL, NULL, NULL, NULL, 4, 'admin', '2020-03-18 10:04:28.000', 'admin', '2020-03-18 10:04:28.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240149722375258113, 1129274780424445954, '/test/testOss', '', 0, '', '', '', '', 591, 'admin', '2020-03-18 13:35:09.000', 'admin', '2020-03-18 13:35:09.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240151290801684481, 1240149722375258113, '', 'test:testOss:info,test:testOss:page', 1, '', '', '', '', 10, 'admin', '2020-03-18 13:41:23.000', 'admin', '2020-03-18 13:41:23.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240151368337588225, 1240149722375258113, '', 'test:testOss:save', 1, '', '', '', '', 20, 'admin', '2020-03-18 13:41:42.000', 'admin', '2020-03-18 13:41:42.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240151423320719361, 1240149722375258113, '', 'test:testOss:update', 1, '', '', '', '', 30, 'admin', '2020-03-18 13:41:55.000', 'admin', '2020-03-18 13:41:55.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240151512093163522, 1240149722375258113, '', 'test:testOss:delete', 1, '', '', '', '', 40, 'admin', '2020-03-18 13:42:16.000', 'admin', '2020-03-18 13:42:16.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240178687567126530, 1239735762999730177, 'dpd/dpdTable', NULL, 0, 'icon-folder-open', NULL, NULL, NULL, 40, 'admin', '2020-03-18 15:30:15.000', 'admin', '2020-03-18 16:37:41.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240178687567126531, 1240178687567126530, NULL, 'dpd:dpdTable:page,dpd:dpdTable:info', 1, NULL, NULL, NULL, NULL, 10, 'admin', '2020-03-18 15:30:15.000', 'admin', '2020-03-18 15:30:15.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240178687567126532, 1240178687567126530, NULL, 'dpd:dpdTable:save', 1, NULL, NULL, NULL, NULL, 20, 'admin', '2020-03-18 15:30:15.000', 'admin', '2020-03-18 15:30:15.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240178687567126533, 1240178687567126530, NULL, 'dpd:dpdTable:update', 1, NULL, NULL, NULL, NULL, 30, 'admin', '2020-03-18 15:30:15.000', 'admin', '2020-03-18 15:30:15.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240178687567126534, 1240178687567126530, NULL, 'dpd:dpdTable:delete', 1, NULL, NULL, NULL, NULL, 40, 'admin', '2020-03-18 15:30:15.000', 'admin', '2020-03-18 15:30:15.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240537779146969089, 0, '', '', 2, 'icon-edit-square', '', '', '', 201, 'admin', '2020-03-19 15:17:09.000', 'admin', '2020-03-19 15:19:09.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240538506661580802, 1240537779146969089, '', '', 3, 'icon-project', '', '', '', 30, 'admin', '2020-03-19 15:20:03.000', 'admin', '2020-03-19 15:20:03.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240539179507634177, 1240538506661580802, 'drs/drsFormDef', NULL, 0, 'icon-audit', NULL, NULL, NULL, 10, 'admin', '2020-03-19 15:22:43.000', 'admin', '2020-03-19 15:24:11.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240539179511828481, 1240539179507634177, NULL, 'drs:drsFormDef:page,drs:drsFormDef:info', 1, NULL, NULL, NULL, NULL, 10, 'admin', '2020-03-19 15:22:43.000', 'admin', '2020-03-19 15:22:43.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240539179511828482, 1240539179507634177, NULL, 'drs:drsFormDef:save', 1, NULL, NULL, NULL, NULL, 20, 'admin', '2020-03-19 15:22:43.000', 'admin', '2020-03-19 15:22:43.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240539179511828483, 1240539179507634177, NULL, 'drs:drsFormDef:update', 1, NULL, NULL, NULL, NULL, 30, 'admin', '2020-03-19 15:22:43.000', 'admin', '2020-03-19 15:22:43.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240539179511828484, 1240539179507634177, NULL, 'drs:drsFormDef:delete', 1, NULL, NULL, NULL, NULL, 40, 'admin', '2020-03-19 15:22:43.000', 'admin', '2020-03-19 15:22:43.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240817213535096833, 1240178687567126530, '', 'dpd:dpdTable:exec', 1, '', '', '', '', 50, 'admin', '2020-03-20 09:47:32.000', 'admin', '2020-03-20 09:47:32.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1240924846725017601, 1240538506661580802, 'drs/drsFormTabs', '', 0, 'icon-edit-square', '', '', '', 40, 'admin', '2020-03-20 16:55:13.000', 'admin', '2020-03-20 16:55:36.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1241597648583057410, 1240538506661580802, 'drs/drsFormInst', NULL, 0, 'icon-detail', NULL, NULL, NULL, 50, 'admin', '2020-03-22 13:28:42.000', 'admin', '2020-03-22 13:29:25.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1241597648583057411, 1241597648583057410, NULL, 'drs:drsFormInst:page,drs:drsFormInst:info', 1, NULL, NULL, NULL, NULL, 10, 'admin', '2020-03-22 13:28:42.000', 'admin', '2020-03-22 13:28:42.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1241597648583057412, 1241597648583057410, NULL, 'drs:drsFormInst:save', 1, NULL, NULL, NULL, NULL, 20, 'admin', '2020-03-22 13:28:42.000', 'admin', '2020-03-22 13:28:42.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1241597648583057413, 1241597648583057410, NULL, 'drs:drsFormInst:update', 1, NULL, NULL, NULL, NULL, 30, 'admin', '2020-03-22 13:28:42.000', 'admin', '2020-03-22 13:28:42.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1241597648583057414, 1241597648583057410, NULL, 'drs:drsFormInst:delete', 1, NULL, NULL, NULL, NULL, 40, 'admin', '2020-03-22 13:28:42.000', 'admin', '2020-03-22 13:28:42.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1242329312044154881, 1108978773529309186, 'sys/dataScopeAudit', 'sys:sysruledata:page,sys:sysRuleSort:page,sys:dept:list,sys:user:page', 0, 'icon-edit-square', '', '', '', 12, 'admin', '2020-03-24 13:56:04.000', 'admin', '2020-03-25 15:46:29.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1242329516176736258, 1108978773529309186, 'sys/dataScopeCustrule', 'sys:user:page,sys:sysUserCustrule:genList', 0, 'icon-edit-square', '', '', '', 22, 'admin', '2020-03-24 13:56:53.000', 'admin', '2020-03-25 15:48:13.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1242383237305266178, 1108978773529309186, 'sys/roleMenuAudit', '', 0, 'icon-check-square', '', '', '', 32, 'admin', '2020-03-24 17:30:21.000', 'admin', '2020-03-26 18:01:29.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1242716671051853826, 1067246875800000046, 'sys/sysLogSql', NULL, 0, NULL, NULL, NULL, NULL, 12, 'admin', '2020-03-25 15:35:18.000', 'admin', '2020-03-25 15:35:18.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1242716671056048130, 1242716671051853826, NULL, 'sys:sysLogSql:page,sys:sysLogSql:info', 1, NULL, NULL, NULL, NULL, 10, 'admin', '2020-03-25 15:35:18.000', 'admin', '2020-03-25 15:35:18.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1242716671056048131, 1242716671051853826, NULL, 'sys:sysLogSql:save', 1, NULL, NULL, NULL, NULL, 20, 'admin', '2020-03-25 15:35:18.000', 'admin', '2020-03-25 15:35:18.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1242716671056048132, 1242716671051853826, NULL, 'sys:sysLogSql:update', 1, NULL, NULL, NULL, NULL, 30, 'admin', '2020-03-25 15:35:18.000', 'admin', '2020-03-25 15:35:18.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1242716671056048133, 1242716671051853826, NULL, 'sys:sysLogSql:delete', 1, NULL, NULL, NULL, NULL, 40, 'admin', '2020-03-25 15:35:18.000', 'admin', '2020-03-25 15:35:18.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1242717730512072705, 1067246875800000046, 'sys/sysLogUserBehavior', NULL, 0, NULL, NULL, NULL, NULL, 22, 'admin', '2020-03-25 15:39:30.000', 'admin', '2020-03-25 15:39:30.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1242717730512072706, 1242717730512072705, NULL, 'sys:sysLogUserBehavior:page,sys:sysLogUserBehavior:info', 1, NULL, NULL, NULL, NULL, 10, 'admin', '2020-03-25 15:39:30.000', 'admin', '2020-03-25 15:39:30.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1242717730512072707, 1242717730512072705, NULL, 'sys:sysLogUserBehavior:save', 1, NULL, NULL, NULL, NULL, 20, 'admin', '2020-03-25 15:39:30.000', 'admin', '2020-03-25 15:39:30.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1242717730512072708, 1242717730512072705, NULL, 'sys:sysLogUserBehavior:update', 1, NULL, NULL, NULL, NULL, 30, 'admin', '2020-03-25 15:39:30.000', 'admin', '2020-03-25 15:39:30.000', '0', NULL, 'C01', 1);
INSERT INTO sys_menu (id, pid, url, permissions, `type`, icon, css_style, front_color, bg_color, sort, creator, create_date, updater, update_date, is_important, menu_class, client, show_flag) VALUES(1242717730512072709, 1242717730512072705, NULL, 'sys:sysLogUserBehavior:delete', 1, NULL, NULL, NULL, NULL, 40, 'admin', '2020-03-25 15:39:30.000', 'admin', '2020-03-25 15:39:30.000', '0', NULL, 'C01', 1);

INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(277, 'sys_menu', 1110386559477112834, 'name', 'PwdAudit', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(278, 'sys_menu', 1110386559477112834, 'name', '密码审计', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(279, 'sys_menu', 1110386559477112834, 'name', '密碼審計', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(293, 'sys_menu', 1111643626912608257, 'name', 'Privilege Audit', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(294, 'sys_menu', 1111643626912608257, 'name', '用户权限审计', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(295, 'sys_menu', 1111643626912608257, 'name', '許可權稽核', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006343, 'sys_menu', 1239469165237006337, 'name', '流程变量修复表', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006344, 'sys_menu', 1239469165237006337, 'name', '流程变量修复表', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006345, 'sys_menu', 1239469165237006337, 'name', '流程变量修复表', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006346, 'sys_menu', 1239469165237006338, 'name', 'View', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006347, 'sys_menu', 1239469165237006338, 'name', '查看', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006348, 'sys_menu', 1239469165237006338, 'name', '查看', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006349, 'sys_menu', 1239469165237006339, 'name', 'Add', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006350, 'sys_menu', 1239469165237006339, 'name', '新增', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006351, 'sys_menu', 1239469165237006339, 'name', '新增', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006352, 'sys_menu', 1239469165237006340, 'name', 'Edit', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006353, 'sys_menu', 1239469165237006340, 'name', '修改', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006354, 'sys_menu', 1239469165237006340, 'name', '修改', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006355, 'sys_menu', 1239469165237006341, 'name', 'Delete', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006356, 'sys_menu', 1239469165237006341, 'name', '删除', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006357, 'sys_menu', 1239469165237006341, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006358, 'sys_menu', 1239469165237006342, 'name', 'Export', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006359, 'sys_menu', 1239469165237006342, 'name', '导出', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239469165237006360, 'sys_menu', 1239469165237006342, 'name', '導出', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239735763322691586, 'sys_menu', 1239735762999730177, 'name', '数据库设计', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195528, 'sys_menu', 1239803396873195522, 'name', '规则表', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195529, 'sys_menu', 1239803396873195522, 'name', '规则库', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195530, 'sys_menu', 1239803396873195522, 'name', '规则表', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195531, 'sys_menu', 1239803396873195523, 'name', 'View', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195532, 'sys_menu', 1239803396873195523, 'name', '查看', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195533, 'sys_menu', 1239803396873195523, 'name', '查看', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195534, 'sys_menu', 1239803396873195524, 'name', 'Add', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195535, 'sys_menu', 1239803396873195524, 'name', '新增', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195536, 'sys_menu', 1239803396873195524, 'name', '新增', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195537, 'sys_menu', 1239803396873195525, 'name', 'Edit', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195538, 'sys_menu', 1239803396873195525, 'name', '修改', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195539, 'sys_menu', 1239803396873195525, 'name', '修改', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195540, 'sys_menu', 1239803396873195526, 'name', 'Delete', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195541, 'sys_menu', 1239803396873195526, 'name', '删除', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195542, 'sys_menu', 1239803396873195526, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195543, 'sys_menu', 1239803396873195527, 'name', 'Export', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195544, 'sys_menu', 1239803396873195527, 'name', '导出', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239803396873195545, 'sys_menu', 1239803396873195527, 'name', '導出', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857352, 'sys_menu', 1239810849740857346, 'name', '字段库', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857353, 'sys_menu', 1239810849740857346, 'name', '字段库', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857354, 'sys_menu', 1239810849740857346, 'name', '字段库', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857355, 'sys_menu', 1239810849740857347, 'name', 'View', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857356, 'sys_menu', 1239810849740857347, 'name', '查看', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857357, 'sys_menu', 1239810849740857347, 'name', '查看', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857358, 'sys_menu', 1239810849740857348, 'name', 'Add', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857359, 'sys_menu', 1239810849740857348, 'name', '新增', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857360, 'sys_menu', 1239810849740857348, 'name', '新增', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857361, 'sys_menu', 1239810849740857349, 'name', 'Edit', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857362, 'sys_menu', 1239810849740857349, 'name', '修改', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857363, 'sys_menu', 1239810849740857349, 'name', '修改', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857364, 'sys_menu', 1239810849740857350, 'name', 'Delete', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857365, 'sys_menu', 1239810849740857350, 'name', '删除', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857366, 'sys_menu', 1239810849740857350, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857367, 'sys_menu', 1239810849740857351, 'name', 'Export', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857368, 'sys_menu', 1239810849740857351, 'name', '导出', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1239810849740857369, 'sys_menu', 1239810849740857351, 'name', '導出', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561031, 'sys_menu', 1240096699762561025, 'name', '字段类型', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561032, 'sys_menu', 1240096699762561025, 'name', '字段类型', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561033, 'sys_menu', 1240096699762561025, 'name', '字段类型', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561034, 'sys_menu', 1240096699762561026, 'name', 'View', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561035, 'sys_menu', 1240096699762561026, 'name', '查看', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561036, 'sys_menu', 1240096699762561026, 'name', '查看', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561037, 'sys_menu', 1240096699762561027, 'name', 'Add', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561038, 'sys_menu', 1240096699762561027, 'name', '新增', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561039, 'sys_menu', 1240096699762561027, 'name', '新增', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561040, 'sys_menu', 1240096699762561028, 'name', 'Edit', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561041, 'sys_menu', 1240096699762561028, 'name', '修改', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561042, 'sys_menu', 1240096699762561028, 'name', '修改', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561043, 'sys_menu', 1240096699762561029, 'name', 'Delete', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561044, 'sys_menu', 1240096699762561029, 'name', '删除', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561045, 'sys_menu', 1240096699762561029, 'name', '刪除', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561046, 'sys_menu', 1240096699762561030, 'name', 'Export', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561047, 'sys_menu', 1240096699762561030, 'name', '导出', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240096699762561048, 'sys_menu', 1240096699762561030, 'name', '導出', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240149722597556225, 'sys_menu', 1240149722375258113, 'name', '附件上传', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240151291078508546, 'sys_menu', 1240151290801684481, 'name', '查看', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240151368538914818, 'sys_menu', 1240151368337588225, 'name', '新增', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240151423698206721, 'sys_menu', 1240151423320719361, 'name', '修改', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240151512294490113, 'sys_menu', 1240151512093163522, 'name', '删除', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240178688607313922, 'sys_menu', 1240178687567126530, 'name', '新建表', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240178688758308865, 'sys_menu', 1240178687567126530, 'name', '新建表', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240178688892526594, 'sys_menu', 1240178687567126530, 'name', '新建表', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240178689035132929, 'sys_menu', 1240178687567126531, 'name', 'View', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240178689177739265, 'sys_menu', 1240178687567126531, 'name', '查看', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240178689328734210, 'sys_menu', 1240178687567126531, 'name', '查看', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240178689483923458, 'sys_menu', 1240178687567126532, 'name', 'Add', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240178689626529794, 'sys_menu', 1240178687567126532, 'name', '新增', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240178689773330433, 'sys_menu', 1240178687567126532, 'name', '新增', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240178689928519682, 'sys_menu', 1240178687567126533, 'name', 'Edit', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240178690071126018, 'sys_menu', 1240178687567126533, 'name', '修改', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240178690243092482, 'sys_menu', 1240178687567126533, 'name', '修改', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240178690381504514, 'sys_menu', 1240178687567126534, 'name', 'Delete', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240178690515722242, 'sys_menu', 1240178687567126534, 'name', '删除', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240178690654134274, 'sys_menu', 1240178687567126534, 'name', '删除', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240537779545427970, 'sys_menu', 1240537779146969089, 'name', '设计模块', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240538506871296002, 'sys_menu', 1240538506661580802, 'name', '在线表单设计', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240539180203888641, 'sys_menu', 1240539179507634177, 'name', '数据填报-表单定义表', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240539180308746242, 'sys_menu', 1240539179507634177, 'name', '表单定义管理', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240539180409409537, 'sys_menu', 1240539179507634177, 'name', '数据填报-表单定义表', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240539180518461442, 'sys_menu', 1240539179511828481, 'name', 'View', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240539180614930434, 'sys_menu', 1240539179511828481, 'name', '查看', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240539180736565250, 'sys_menu', 1240539179511828481, 'name', '查看', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240539180828839937, 'sys_menu', 1240539179511828482, 'name', 'Add', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240539180929503233, 'sys_menu', 1240539179511828482, 'name', '新增', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240539181030166529, 'sys_menu', 1240539179511828482, 'name', '新增', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240539181122441217, 'sys_menu', 1240539179511828483, 'name', 'Edit', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240539181269241858, 'sys_menu', 1240539179511828483, 'name', '修改', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240539181369905153, 'sys_menu', 1240539179511828483, 'name', '修改', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240539181470568449, 'sys_menu', 1240539179511828484, 'name', 'Delete', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240539181604786178, 'sys_menu', 1240539179511828484, 'name', '删除', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240539181705449473, 'sys_menu', 1240539179511828484, 'name', '删除', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240817213967110145, 'sys_menu', 1240817213535096833, 'name', '执行SQL', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1240924847412883458, 'sys_menu', 1240924846725017601, 'name', '表单填报清单', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1241597650495660034, 'sys_menu', 1241597648583057410, 'name', '数据填报数据清单', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1241597650629877762, 'sys_menu', 1241597648583057410, 'name', '数据填报数据清单', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1241597650751512578, 'sys_menu', 1241597648583057410, 'name', '数据填报数据清单', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1241597650877341697, 'sys_menu', 1241597648583057411, 'name', 'View', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1241597651007365121, 'sys_menu', 1241597648583057411, 'name', '查看', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1241597651187720194, 'sys_menu', 1241597648583057411, 'name', '查看', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1241597651313549314, 'sys_menu', 1241597648583057412, 'name', 'Add', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1241597651439378433, 'sys_menu', 1241597648583057412, 'name', '新增', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1241597651607150593, 'sys_menu', 1241597648583057412, 'name', '新增', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1241597651732979714, 'sys_menu', 1241597648583057413, 'name', 'Edit', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1241597651858808833, 'sys_menu', 1241597648583057413, 'name', '修改', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1241597652047552513, 'sys_menu', 1241597648583057413, 'name', '修改', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1241597652173381633, 'sys_menu', 1241597648583057414, 'name', 'Delete', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1241597652299210754, 'sys_menu', 1241597648583057414, 'name', '删除', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1241597652475371522, 'sys_menu', 1241597648583057414, 'name', '删除', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242329312224509953, 'sys_menu', 1242329312044154881, 'name', '数据权限审计', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242329516352897025, 'sys_menu', 1242329516176736258, 'name', '自定义权限审计', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242383237561118722, 'sys_menu', 1242383237305266178, 'name', '角色权限审计', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242716672628912129, 'sys_menu', 1242716671051853826, 'name', 'SQL执行监控日志', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242716672813461505, 'sys_menu', 1242716671051853826, 'name', 'SQL执行监控日志', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242716673023176706, 'sys_menu', 1242716671051853826, 'name', 'SQL执行监控日志', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242716673203531777, 'sys_menu', 1242716671056048130, 'name', 'View', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242716673396469761, 'sys_menu', 1242716671056048130, 'name', '查看', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242716673555853313, 'sys_menu', 1242716671056048130, 'name', '查看', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242716673719431170, 'sys_menu', 1242716671056048131, 'name', 'Add', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242716673878814722, 'sys_menu', 1242716671056048131, 'name', '新增', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242716674042392578, 'sys_menu', 1242716671056048131, 'name', '新增', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242716674222747650, 'sys_menu', 1242716671056048132, 'name', 'Edit', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242716674377936898, 'sys_menu', 1242716671056048132, 'name', '修改', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242716674545709058, 'sys_menu', 1242716671056048132, 'name', '修改', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242716674700898306, 'sys_menu', 1242716671056048133, 'name', 'Delete', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242716674868670466, 'sys_menu', 1242716671056048133, 'name', '删除', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242716675032248322, 'sys_menu', 1242716671056048133, 'name', '删除', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242717731346739201, 'sys_menu', 1242717730512072705, 'name', '用户行为日志', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242717731661312001, 'sys_menu', 1242717730512072705, 'name', '用户行为日志', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242717731803918338, 'sys_menu', 1242717730512072705, 'name', '用户行为日志', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242717731933941761, 'sys_menu', 1242717730512072706, 'name', 'View', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242717732063965185, 'sys_menu', 1242717730512072706, 'name', '查看', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242717732223348738, 'sys_menu', 1242717730512072706, 'name', '查看', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242717732357566465, 'sys_menu', 1242717730512072707, 'name', 'Add', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242717732487589890, 'sys_menu', 1242717730512072707, 'name', '新增', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242717732617613314, 'sys_menu', 1242717730512072707, 'name', '新增', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242717732747636737, 'sys_menu', 1242717730512072708, 'name', 'Edit', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242717732865077249, 'sys_menu', 1242717730512072708, 'name', '修改', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242717733062209538, 'sys_menu', 1242717730512072708, 'name', '修改', 'zh-TW');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242717733192232961, 'sys_menu', 1242717730512072709, 'name', 'Delete', 'en-US');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242717733322256385, 'sys_menu', 1242717730512072709, 'name', '删除', 'zh-CN');
INSERT INTO sys_language (id, table_name, table_id, field_name, field_value, `language`) VALUES(1242717733477445633, 'sys_menu', 1242717730512072709, 'name', '删除', 'zh-TW');



-- 20200409
-- 字典修正
UPDATE sys_dict_data SET  dict_label='无效' WHERE id=1186199405473079298;
UPDATE sys_dict_data SET  dict_label='有效' WHERE id=1186199443381198850;



-- 代码生成器 脚本 20200409
-- 菜单数据
-- 删除开发工具菜单 及 多语言
-- select * FROM sys_language where table_id in (
-- SELECT * FROM sys_menu t
-- WHERE t.pid = 1118389915403546626  OR t.pid IN ( SELECT id FROM sys_menu t WHERE t.pid = 1118389915403546626 )
-- );

delete from sys_language where id in (1143351404273438722,1145864425851240450,1145869359447457793,1184701240743849986,1184701395530444802,1186875642667433992,1186875642667433993,1186875642667433994,1202511950502637575,1202511950502637576,1202511950502637577,1245621868651786241,1245621868815364098,1245621868932804610,1186875642667433995,1186875642667433996,1186875642667433997,1186875642667433998,1186875642667433999,1186875642667434000,1186875642667434001,1186875642667434002,1186875642667434003,1186875642667434004,1186875642667434005,1186875642667434006,1186875642667434007,1186875642667434008,1186875642667434009,1202511950502637578,1202511950502637579,1202511950502637580,1202511950502637581,1202511950502637582,1202511950502637583,1202511950502637584,1202511950502637585,1202511950502637586,1202511950502637587,1202511950502637588,1202511950502637589,1202511950502637590,1202511950502637591,1202511950502637592,1245621869050245122,1245621869301903361,1245621869419343874,1245621869691973633,1245621869947826177,1245621870149152769,1245621870321119234,1245621870539223042,1245621870694412289,1245621870811852802,1245621870983819265,1245621871097065474);
delete from sys_menu where id in (1143351403967254529,1184657341549604865,1186875642667433986,1186875642667433987,1186875642667433988,1186875642667433989,1186875642667433990,1186875642667433991,1202511950502637569,1202511950502637570,1202511950502637571,1202511950502637572,1202511950502637573,1202511950502637574,1245621866734989314,1245621866734989315,1245621866734989316,1245621866734989317,1245621866734989318);

-- 增加开发工具菜单 及 多语言
-- 菜单
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1143351403967254529, 1118389915403546626, 'sys/export-data', 'sys:export-data:export', 0, 'icon-save', NULL, NULL, NULL, 0, 'admin', '2019-06-25 10:53:12', 'admin', '2019-07-02 09:38:39', '0', NULL, '', 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1184657341549604865, 1118389915403546626, 'gen/genTable', NULL, 0, 'icon-reddit', NULL, NULL, NULL, 1, '1067246875800000001', '2019-10-17 13:21:30', 'admin', '2020-02-27 18:06:05', '0', NULL, '', 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1186875642667433986, 1118389915403546626, 'gen/genTableTemplate', NULL, 0, 'icon-idcard', NULL, NULL, NULL, 130, 'admin', '2019-10-23 13:22:59', 'admin', '2020-04-02 15:43:00', '0', NULL, 'C01', 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1186875642667433987, 1186875642667433986, NULL, 'gen:genTableTemplate:page,gen:genTableTemplate:info', 1, NULL, NULL, NULL, NULL, 0, 'admin', '2019-10-23 13:22:59', 'admin', '2019-10-23 13:22:59', '0', NULL, NULL, 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1186875642667433988, 1186875642667433986, NULL, 'gen:genTableTemplate:save', 1, NULL, NULL, NULL, NULL, 1, 'admin', '2019-10-23 13:22:59', 'admin', '2019-10-23 13:22:59', '0', NULL, NULL, 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1186875642667433989, 1186875642667433986, NULL, 'gen:genTableTemplate:update', 1, NULL, NULL, NULL, NULL, 2, 'admin', '2019-10-23 13:22:59', 'admin', '2019-10-23 13:22:59', '0', NULL, NULL, 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1186875642667433990, 1186875642667433986, NULL, 'gen:genTableTemplate:delete', 1, NULL, NULL, NULL, NULL, 3, 'admin', '2019-10-23 13:22:59', 'admin', '2019-10-23 13:22:59', '0', NULL, NULL, 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1186875642667433991, 1186875642667433986, NULL, 'gen:genTableTemplate:export', 1, NULL, NULL, NULL, NULL, 4, 'admin', '2019-10-23 13:22:59', 'admin', '2019-10-23 13:22:59', '0', NULL, NULL, 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1202511950502637569, 1118389915403546626, 'gen/genCodeSnippet', NULL, 0, 'icon-creditcard', NULL, NULL, NULL, 113, 'songlong', '2019-12-05 16:56:05', 'songlong', '2019-12-05 16:58:01', '0', NULL, 'C01', 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1202511950502637570, 1202511950502637569, NULL, 'gen:genCodeSnippet:page,gen:genCodeSnippet:info', 1, NULL, NULL, NULL, NULL, 0, 'songlong', '2019-12-05 16:56:05', 'songlong', '2019-12-05 16:56:05', '0', NULL, NULL, 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1202511950502637571, 1202511950502637569, NULL, 'gen:genCodeSnippet:save', 1, NULL, NULL, NULL, NULL, 1, 'songlong', '2019-12-05 16:56:05', 'songlong', '2019-12-05 16:56:05', '0', NULL, NULL, 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1202511950502637572, 1202511950502637569, NULL, 'gen:genCodeSnippet:update', 1, NULL, NULL, NULL, NULL, 2, 'songlong', '2019-12-05 16:56:05', 'songlong', '2019-12-05 16:56:05', '0', NULL, NULL, 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1202511950502637573, 1202511950502637569, NULL, 'gen:genCodeSnippet:delete', 1, NULL, NULL, NULL, NULL, 3, 'songlong', '2019-12-05 16:56:05', 'songlong', '2019-12-05 16:56:05', '0', NULL, NULL, 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1202511950502637574, 1202511950502637569, NULL, 'gen:genCodeSnippet:export', 1, NULL, NULL, NULL, NULL, 4, 'songlong', '2019-12-05 16:56:05', 'songlong', '2019-12-05 16:56:05', '0', NULL, NULL, 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1245621866734989314, 1118389915403546626, 'gen/genTableType', NULL, 0, 'icon-edit-square', NULL, NULL, NULL, 111, 'admin', '2020-04-02 15:59:30', 'admin', '2020-04-02 16:00:07', '0', NULL, 'C01', 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1245621866734989315, 1245621866734989314, NULL, 'gen:genTableType:page,gen:genTableType:info', 1, NULL, NULL, NULL, NULL, 10, 'admin', '2020-04-02 15:59:30', 'admin', '2020-04-02 15:59:30', '0', NULL, 'C01', 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1245621866734989316, 1245621866734989314, NULL, 'gen:genTableType:save', 1, NULL, NULL, NULL, NULL, 20, 'admin', '2020-04-02 15:59:30', 'admin', '2020-04-02 15:59:30', '0', NULL, 'C01', 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1245621866734989317, 1245621866734989314, NULL, 'gen:genTableType:update', 1, NULL, NULL, NULL, NULL, 30, 'admin', '2020-04-02 15:59:31', 'admin', '2020-04-02 15:59:31', '0', NULL, 'C01', 1);
INSERT INTO `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1245621866734989318, 1245621866734989314, NULL, 'gen:genTableType:delete', 1, NULL, NULL, NULL, NULL, 40, 'admin', '2020-04-02 15:59:31', 'admin', '2020-04-02 15:59:31', '0', NULL, 'C01', 1);

-- 多语言
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1143351404273438722, 'sys_menu', 1143351403967254529, 'name', '系统升级同步', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1145864425851240450, 'sys_menu', 1143351403967254529, 'name', 'System Upgrade-Sync', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1145869359447457793, 'sys_menu', 1143351403967254529, 'name', '系統升級同步', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1184701240743849986, 'sys_menu', 1184657341549604865, 'name', '代码生成', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1184701395530444802, 'sys_menu', 1184657341549604865, 'name', '单表代码生成', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667433992, 'sys_menu', 1186875642667433986, 'name', '生成模板列表', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667433993, 'sys_menu', 1186875642667433986, 'name', '模板代码文件列表', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667433994, 'sys_menu', 1186875642667433986, 'name', '生成模板列表', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637575, 'sys_menu', 1202511950502637569, 'name', '代码片段列表', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637576, 'sys_menu', 1202511950502637569, 'name', '代码片段列表', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637577, 'sys_menu', 1202511950502637569, 'name', '代码片段列表', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1245621868651786241, 'sys_menu', 1245621866734989314, 'name', '代码模板表', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1245621868815364098, 'sys_menu', 1245621866734989314, 'name', '代码模板表', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1245621868932804610, 'sys_menu', 1245621866734989314, 'name', '代码模板表', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667433995, 'sys_menu', 1186875642667433987, 'name', 'View', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667433996, 'sys_menu', 1186875642667433987, 'name', '查看', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667433997, 'sys_menu', 1186875642667433987, 'name', '查看', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667433998, 'sys_menu', 1186875642667433988, 'name', 'Add', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667433999, 'sys_menu', 1186875642667433988, 'name', '新增', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667434000, 'sys_menu', 1186875642667433988, 'name', '新增', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667434001, 'sys_menu', 1186875642667433989, 'name', 'Edit', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667434002, 'sys_menu', 1186875642667433989, 'name', '修改', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667434003, 'sys_menu', 1186875642667433989, 'name', '修改', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667434004, 'sys_menu', 1186875642667433990, 'name', 'Delete', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667434005, 'sys_menu', 1186875642667433990, 'name', '删除', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667434006, 'sys_menu', 1186875642667433990, 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667434007, 'sys_menu', 1186875642667433991, 'name', 'Export', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667434008, 'sys_menu', 1186875642667433991, 'name', '导出', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1186875642667434009, 'sys_menu', 1186875642667433991, 'name', '導出', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637578, 'sys_menu', 1202511950502637570, 'name', 'View', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637579, 'sys_menu', 1202511950502637570, 'name', '查看', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637580, 'sys_menu', 1202511950502637570, 'name', '查看', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637581, 'sys_menu', 1202511950502637571, 'name', 'Add', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637582, 'sys_menu', 1202511950502637571, 'name', '新增', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637583, 'sys_menu', 1202511950502637571, 'name', '新增', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637584, 'sys_menu', 1202511950502637572, 'name', 'Edit', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637585, 'sys_menu', 1202511950502637572, 'name', '修改', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637586, 'sys_menu', 1202511950502637572, 'name', '修改', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637587, 'sys_menu', 1202511950502637573, 'name', 'Delete', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637588, 'sys_menu', 1202511950502637573, 'name', '删除', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637589, 'sys_menu', 1202511950502637573, 'name', '刪除', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637590, 'sys_menu', 1202511950502637574, 'name', 'Export', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637591, 'sys_menu', 1202511950502637574, 'name', '导出', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1202511950502637592, 'sys_menu', 1202511950502637574, 'name', '導出', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1245621869050245122, 'sys_menu', 1245621866734989315, 'name', 'View', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1245621869301903361, 'sys_menu', 1245621866734989315, 'name', '查看', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1245621869419343874, 'sys_menu', 1245621866734989315, 'name', '查看', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1245621869691973633, 'sys_menu', 1245621866734989316, 'name', 'Add', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1245621869947826177, 'sys_menu', 1245621866734989316, 'name', '新增', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1245621870149152769, 'sys_menu', 1245621866734989316, 'name', '新增', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1245621870321119234, 'sys_menu', 1245621866734989317, 'name', 'Edit', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1245621870539223042, 'sys_menu', 1245621866734989317, 'name', '修改', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1245621870694412289, 'sys_menu', 1245621866734989317, 'name', '修改', 'zh-TW');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1245621870811852802, 'sys_menu', 1245621866734989318, 'name', 'Delete', 'en-US');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1245621870983819265, 'sys_menu', 1245621866734989318, 'name', '删除', 'zh-CN');
INSERT INTO `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1245621871097065474, 'sys_menu', 1245621866734989318, 'name', '删除', 'zh-TW');
-- 代码工具数据字典
DELETE from sys_dict_data WHERE dict_type like 'GEN%';
DELETE from sys_dict_type WHERE dict_type like 'GEN%';
-- 字典数据
INSERT INTO `sys_dict_type`(`id`, `dict_name`, `dict_type`, `is_sys`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`, `remark`) VALUES (1186154264037232642, '代码生成-JAVA字段类型', 'GEN_JAVA_FIELD_TYPE', 1, 1, 'admin', '2019-10-21 13:36:29', 'admin', '2019-10-21 13:36:35', NULL, '');
INSERT INTO `sys_dict_type`(`id`, `dict_name`, `dict_type`, `is_sys`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`, `remark`) VALUES (1186157420804640770, '代码生成-查询字段类型', 'GEN_QUERY_TYPE', 1, 1, 'admin', '2019-10-21 13:49:02', 'admin', '2019-10-21 13:49:07', NULL, '');
INSERT INTO `sys_dict_type`(`id`, `dict_name`, `dict_type`, `is_sys`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`, `remark`) VALUES (1186159068402749442, '代码生成-字段验证方式', 'GEN_VALID_TYPE', 1, 1, 'admin', '2019-10-21 13:55:34', 'admin', '2019-10-21 13:55:34', NULL, '');
INSERT INTO `sys_dict_type`(`id`, `dict_name`, `dict_type`, `is_sys`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`, `remark`) VALUES (1186159723645308929, '代码生成-编辑字段控件类型', 'GEN_EDIT_TYPE', 1, 1, 'admin', '2019-10-21 13:58:11', 'admin', '2019-10-21 13:58:11', NULL, '');
INSERT INTO `sys_dict_type`(`id`, `dict_name`, `dict_type`, `is_sys`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`, `remark`) VALUES (1186160903486246914, '代码生成-编辑表单布局控制', 'GEN_EDIT_LAYOUT', 1, 1, 'admin', '2019-10-21 14:02:52', 'admin', '2019-10-21 14:02:57', NULL, '');
INSERT INTO `sys_dict_type`(`id`, `dict_name`, `dict_type`, `is_sys`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`, `remark`) VALUES (1186161330101489665, '代码生成-公共字段', 'GEN_COMMON_FIELD', 1, 1, 'admin', '2019-10-21 14:04:34', 'admin', '2019-10-21 14:04:34', NULL, '');
INSERT INTO `sys_dict_type`(`id`, `dict_name`, `dict_type`, `is_sys`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`, `remark`) VALUES (1186518011306156033, '代码生成-模板类型', 'GEN_TEMP_TYPE', 1, 1, 'admin', '2019-10-22 13:41:53', 'admin', '2020-04-02 16:18:52', NULL, '');
INSERT INTO `sys_dict_type`(`id`, `dict_name`, `dict_type`, `is_sys`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`, `remark`) VALUES (1186632409647452161, '代码生成--模板后台类型', 'GEN_TEMP_APP_TYPE', 1, 1, 'admin', '2019-10-22 21:16:28', 'admin', '2019-10-22 21:16:32', NULL, '');
INSERT INTO `sys_dict_type`(`id`, `dict_name`, `dict_type`, `is_sys`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`, `remark`) VALUES (1244543870771974145, '代码生成-排序方式', 'GEN_SORT_TYPE', 1, 1, 'admin', '2020-03-30 16:35:56', 'admin', '2020-03-30 16:52:44', NULL, '');
INSERT INTO `sys_dict_type`(`id`, `dict_name`, `dict_type`, `is_sys`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`, `remark`) VALUES (1244544132899196929, '代码生成-页面显示格式', 'GEN_FORMAT_TYPE', 1, 1, 'admin', '2020-03-30 16:36:58', 'admin', '2020-03-30 16:52:40', NULL, '');
INSERT INTO `sys_dict_type`(`id`, `dict_name`, `dict_type`, `is_sys`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`, `remark`) VALUES (1244544611020492801, '代码生成-列表居中格式', 'GEN_ALIGN_TYPE', 1, 1, 'admin', '2020-03-30 16:38:52', 'admin', '2020-03-30 16:52:35', NULL, '');
INSERT INTO `sys_dict_type`(`id`, `dict_name`, `dict_type`, `is_sys`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`, `remark`) VALUES (1244544812246421506, '代码生成-列表宽度列表', 'GEN_WIDTH_TYPE', 1, 1, 'admin', '2020-03-30 16:39:40', 'admin', '2020-03-30 16:52:31', NULL, '');
INSERT INTO `sys_dict_type`(`id`, `dict_name`, `dict_type`, `is_sys`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`, `remark`) VALUES (1244545452192354305, '代码生成-列表合计列格式', 'GEN_TOTAL_TYPE', 1, 1, 'admin', '2020-03-30 16:42:13', 'admin', '2020-03-30 16:52:26', NULL, '');

-- 字典值
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186154368236326914, 1186154264037232642, '', 0, 0, 0, NULL, 'String', 'String', 'GEN_JAVA_FIELD_TYPE', '', 1, 'admin', '2019-10-21 13:36:54', 'admin', '2019-10-21 13:36:54', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186154415871037442, 1186154264037232642, '', 1, 0, 0, NULL, 'Long', 'Long', 'GEN_JAVA_FIELD_TYPE', '', 1, 'admin', '2019-10-21 13:37:05', 'admin', '2019-10-21 13:37:05', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186154512864317442, 1186154264037232642, '', 2, 0, 0, NULL, 'Boolean', 'Boolean', 'GEN_JAVA_FIELD_TYPE', '', 1, 'admin', '2019-10-21 13:37:28', 'admin', '2019-10-21 13:37:28', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186154571517464577, 1186154264037232642, '', 3, 0, 0, NULL, 'Integer', 'Integer', 'GEN_JAVA_FIELD_TYPE', '', 1, 'admin', '2019-10-21 13:37:42', 'admin', '2019-10-21 13:37:48', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186154723934277633, 1186154264037232642, '', 4, 0, 0, NULL, 'Date', 'java.util.Date', 'GEN_JAVA_FIELD_TYPE', '', 1, 'admin', '2019-10-21 13:38:19', 'admin', '2019-10-21 13:38:19', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186157515356835842, 1186157420804640770, '', 0, 0, 0, NULL, '=', 'eq', 'GEN_QUERY_TYPE', '', 1, 'admin', '2019-10-21 13:49:24', 'admin', '2019-10-21 13:49:24', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186157571392737281, 1186157420804640770, '', 1, 0, 0, NULL, '!=', 'ne', 'GEN_QUERY_TYPE', '', 1, 'admin', '2019-10-21 13:49:37', 'admin', '2019-10-21 13:49:37', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186157853577121794, 1186157420804640770, '', 2, 0, 0, NULL, '>', 'gt', 'GEN_QUERY_TYPE', '', 1, 'admin', '2019-10-21 13:50:45', 'admin', '2019-10-21 13:50:45', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186157914356781058, 1186157420804640770, '', 3, 0, 0, NULL, '>=', 'ge', 'GEN_QUERY_TYPE', '', 1, 'admin', '2019-10-21 13:50:59', 'admin', '2019-10-21 13:50:59', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186157979477544961, 1186157420804640770, '', 4, 0, 0, NULL, '<', 'lt', 'GEN_QUERY_TYPE', '', 1, 'admin', '2019-10-21 13:51:15', 'admin', '2019-10-21 13:51:45', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186158022574018561, 1186157420804640770, '', 5, 0, 0, NULL, '<=', 'le', 'GEN_QUERY_TYPE', '', 1, 'admin', '2019-10-21 13:51:25', 'admin', '2019-10-21 13:51:52', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186158185753415681, 1186157420804640770, '', 6, 0, 0, NULL, 'like', 'like', 'GEN_QUERY_TYPE', '', 1, 'admin', '2019-10-21 13:52:04', 'admin', '2019-10-21 13:52:04', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186159153039609858, 1186159068402749442, '', 0, 0, 0, NULL, '非空校验', 'required', 'GEN_VALID_TYPE', '', 1, 'admin', '2019-10-21 13:55:55', 'admin', '2019-10-21 13:55:55', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186159209427832834, 1186159068402749442, '', 1, 0, 0, NULL, '邮箱格式', 'email', 'GEN_VALID_TYPE', '\n', 1, 'admin', '2019-10-21 13:56:08', 'admin', '2019-10-21 13:57:06', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186159258522161154, 1186159068402749442, '', 2, 0, 0, NULL, '手机号', 'mobile', 'GEN_VALID_TYPE', '', 1, 'admin', '2019-10-21 13:56:20', 'admin', '2019-10-21 13:56:20', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186159317619904514, 1186159068402749442, '', 3, 0, 0, NULL, '电话号码', 'phone', 'GEN_VALID_TYPE', '', 1, 'admin', '2019-10-21 13:56:34', 'admin', '2019-10-21 13:56:34', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186159368425508866, 1186159068402749442, '', 4, 0, 0, NULL, 'URL网址', 'url', 'GEN_VALID_TYPE', '', 1, 'admin', '2019-10-21 13:56:46', 'admin', '2019-10-21 13:56:46', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186159428290809858, 1186159068402749442, '', 5, 0, 0, NULL, '纯数字', 'num', 'GEN_VALID_TYPE', '', 1, 'admin', '2019-10-21 13:57:00', 'admin', '2019-10-21 13:57:00', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186159818088452097, 1186159723645308929, '', 0, 0, 0, NULL, '单行文本框', 'input', 'GEN_EDIT_TYPE', '', 1, 'admin', '2019-10-21 13:58:33', 'admin', '2019-10-21 13:58:33', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186159873067388929, 1186159723645308929, '', 1, 0, 0, NULL, '计数框', 'number', 'GEN_EDIT_TYPE', '', 1, 'admin', '2019-10-21 13:58:46', 'admin', '2019-10-21 13:58:46', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186159926964195330, 1186159723645308929, '', 7, 0, 0, NULL, '多行文本框', 'textarea', 'GEN_EDIT_TYPE', '', 1, 'admin', '2019-10-21 13:58:59', 'admin', '2019-10-21 14:01:22', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186160000377098241, 1186159723645308929, '', 9, 0, 0, NULL, '隐藏文本框', 'hidden', 'GEN_EDIT_TYPE', '', 1, 'admin', '2019-10-21 13:59:17', 'admin', '2019-10-21 14:01:00', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186160051241422850, 1186159723645308929, '', 2, 0, 0, NULL, '下拉控件', 'select', 'GEN_EDIT_TYPE', '', 1, 'admin', '2019-10-21 13:59:29', 'admin', '2019-10-21 14:01:39', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186160103527616513, 1186159723645308929, '', 4, 0, 0, NULL, '单选控件', 'radiobox', 'GEN_EDIT_TYPE', '\n', 1, 'admin', '2019-10-21 13:59:41', 'admin', '2019-10-21 14:01:53', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186160143184760833, 1186159723645308929, '', 5, 0, 0, NULL, '复选控件', 'checkbox', 'GEN_EDIT_TYPE', '', 1, 'admin', '2019-10-21 13:59:51', 'admin', '2019-10-21 14:02:07', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186160177116680194, 1186159723645308929, '', 3, 0, 0, NULL, '日期控件', 'dateselect', 'GEN_EDIT_TYPE', '', 1, 'admin', '2019-10-21 13:59:59', 'admin', '2019-10-21 14:01:47', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186160230682136577, 1186159723645308929, '', 10, 0, 0, NULL, '父级选择框', 'parentselect', 'GEN_EDIT_TYPE', '', 1, 'admin', '2019-10-21 14:00:11', 'admin', '2019-10-21 14:00:50', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186160276920143874, 1186159723645308929, '', 8, 0, 0, NULL, '富文本编辑框', 'editor', 'GEN_EDIT_TYPE', '', 1, 'admin', '2019-10-21 14:00:22', 'admin', '2019-10-21 14:01:13', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186160318972235778, 1186159723645308929, '', 6, 0, 0, NULL, '开关控件', 'switch', 'GEN_EDIT_TYPE', '', 1, 'admin', '2019-10-21 14:00:32', 'admin', '2019-10-21 14:02:00', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161013813219329, 1186160903486246914, '', 1, 0, 0, NULL, '一行一栏', '24', 'GEN_EDIT_LAYOUT', '', 1, 'admin', '2019-10-21 14:03:18', 'admin', '2019-10-21 14:03:43', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161050207195137, 1186160903486246914, '', 0, 0, 0, NULL, '一行两栏', '12', 'GEN_EDIT_LAYOUT', '', 1, 'admin', '2019-10-21 14:03:27', 'admin', '2019-10-21 14:03:27', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161084646625282, 1186160903486246914, '', 2, 0, 0, NULL, '一行三栏', '8', 'GEN_EDIT_LAYOUT', '', 1, 'admin', '2019-10-21 14:03:35', 'admin', '2019-10-21 14:03:51', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161402629394433, 1186161330101489665, '', 5, 0, 0, NULL, '排序', 'sorts', 'GEN_COMMON_FIELD', '', 1, 'admin', '2019-10-21 14:04:51', 'admin', '2019-10-21 14:08:10', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161443196702722, 1186161330101489665, '', 5, 0, 0, NULL, '排序', 'sort', 'GEN_COMMON_FIELD', '', 1, 'admin', '2019-10-21 14:05:01', 'admin', '2019-10-21 14:08:16', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161489526984706, 1186161330101489665, '', 2, 0, 0, NULL, '是否有下级', 'hasNext', 'GEN_COMMON_FIELD', '', 1, 'admin', '2019-10-21 14:05:12', 'admin', '2019-10-21 14:08:32', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161554740023297, 1186161330101489665, '', 2, 0, 0, NULL, '树级别', 'treeLevel', 'GEN_COMMON_FIELD', '', 1, 'admin', '2019-10-21 14:05:27', 'admin', '2019-10-21 14:08:25', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161592690085890, 1186161330101489665, '', 1, 0, 0, NULL, '父级编码', 'parentCode', 'GEN_COMMON_FIELD', '', 1, 'admin', '2019-10-21 14:05:36', 'admin', '2019-10-21 14:07:28', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161637007101953, 1186161330101489665, '', 1, 0, 0, NULL, '所有父级编码', 'parentCodes', 'GEN_COMMON_FIELD', '', 1, 'admin', '2019-10-21 14:05:47', 'admin', '2019-10-21 14:07:19', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161684813778945, 1186161330101489665, '', 1, 0, 0, NULL, '父级ID', 'pid', 'GEN_COMMON_FIELD', '', 1, 'admin', '2019-10-21 14:05:58', 'admin', '2019-10-21 14:07:47', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161736156254210, 1186161330101489665, '', 1, 0, 0, NULL, '所有父级ID', 'pids', 'GEN_COMMON_FIELD', '', 1, 'admin', '2019-10-21 14:06:10', 'admin', '2019-10-21 14:07:36', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161767710003202, 1186161330101489665, '', 0, 0, 0, NULL, '状态', 'status', 'GEN_COMMON_FIELD', '', 1, 'admin', '2019-10-21 14:06:18', 'admin', '2019-10-21 14:06:18', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161812857491457, 1186161330101489665, '', 0, 0, 0, NULL, '创建人', 'creator', 'GEN_COMMON_FIELD', '', 1, 'admin', '2019-10-21 14:06:29', 'admin', '2019-10-21 14:06:29', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161845665337345, 1186161330101489665, '', 0, 0, 0, NULL, '创建时间', 'createDate', 'GEN_COMMON_FIELD', '', 1, 'admin', '2019-10-21 14:06:36', 'admin', '2019-10-21 14:06:36', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161876787073026, 1186161330101489665, '', 0, 0, 0, NULL, '更新人', 'updater', 'GEN_COMMON_FIELD', '', 1, 'admin', '2019-10-21 14:06:44', 'admin', '2019-10-21 14:06:44', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161910861598722, 1186161330101489665, '', 0, 0, 0, NULL, '更新时间', 'updateDate', 'GEN_COMMON_FIELD', '', 1, 'admin', '2019-10-21 14:06:52', 'admin', '2019-10-21 14:06:52', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161938166517761, 1186161330101489665, '', 4, 0, 0, NULL, '备注', 'remarks', 'GEN_COMMON_FIELD', '', 1, 'admin', '2019-10-21 14:06:59', 'admin', '2019-10-21 14:07:56', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186161965215584258, 1186161330101489665, '', 4, 0, 0, NULL, '备注', 'remark', 'GEN_COMMON_FIELD', '', 1, 'admin', '2019-10-21 14:07:05', 'admin', '2019-10-21 14:08:02', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186633503698096129, 1186632409647452161, '', 0, 0, 0, NULL, 'JAVA后台', 'java', 'GEN_TEMP_APP_TYPE', '', 1, 'admin', '2019-10-22 21:20:49', 'admin', '2019-10-22 21:20:49', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186633541056761857, 1186632409647452161, '', 1, 0, 0, NULL, 'WEB前端', 'webui', 'GEN_TEMP_APP_TYPE', '', 1, 'admin', '2019-10-22 21:20:57', 'admin', '2019-10-22 21:21:04', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1186875935694094338, 1186632409647452161, '', 2, 0, 0, NULL, '国际化', 'i18n', 'GEN_TEMP_APP_TYPE', '', 1, 'admin', '2019-10-23 13:24:09', 'admin', '2019-10-23 13:24:09', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1199955773858369538, 1186154264037232642, '', 5, 0, 0, NULL, 'Double', 'Double', 'GEN_JAVA_FIELD_TYPE', '', 1, 'admin', '2019-11-28 15:38:45', 'admin', '2019-11-28 15:38:45', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244543919388151809, 1244543870771974145, '', 0, 0, 0, NULL, '默认-无', 'default', 'GEN_SORT_TYPE', '', 1, 'admin', '2020-03-30 16:36:08', 'admin', '2020-04-06 15:17:40', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244544235651256322, 1244544132899196929, '', 0, 0, 0, NULL, '默认', 'default', 'GEN_FORMAT_TYPE', '', 1, 'admin', '2020-03-30 16:37:23', 'admin', '2020-03-30 17:30:19', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244544277070008322, 1244544132899196929, '', 1, 0, 0, NULL, '金额', 'amount', 'GEN_FORMAT_TYPE', '', 1, 'admin', '2020-03-30 16:37:33', 'admin', '2020-03-30 17:30:03', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244544298486124546, 1244544132899196929, '', 2, 0, 0, NULL, '单价', 'price', 'GEN_FORMAT_TYPE', '', 1, 'admin', '2020-03-30 16:37:38', 'admin', '2020-03-30 17:29:54', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244544338864689153, 1244544132899196929, '', 3, 0, 0, NULL, '数字', 'int', 'GEN_FORMAT_TYPE', '', 1, 'admin', '2020-03-30 16:37:48', 'admin', '2020-03-30 17:29:47', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244544371890638849, 1244544132899196929, '', 4, 0, 0, NULL, '日期', 'date', 'GEN_FORMAT_TYPE', '', 1, 'admin', '2020-03-30 16:37:55', 'admin', '2020-03-30 17:29:21', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244544392769884162, 1244544132899196929, '', 5, 0, 0, NULL, '标记', 'flag', 'GEN_FORMAT_TYPE', '', 1, 'admin', '2020-03-30 16:38:00', 'admin', '2020-03-30 17:29:33', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244544430908690434, 1244544132899196929, '', 6, 0, 0, NULL, '字典', 'dict', 'GEN_FORMAT_TYPE', '', 1, 'admin', '2020-03-30 16:38:10', 'admin', '2020-03-30 17:29:40', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244544652544102402, 1244544611020492801, '', 3, 0, 0, NULL, '居左', 'left', 'GEN_ALIGN_TYPE', '', 1, 'admin', '2020-03-30 16:39:02', 'admin', '2020-04-06 15:16:19', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244544673746309122, 1244544611020492801, '', 1, 0, 0, NULL, '居中', 'center', 'GEN_ALIGN_TYPE', '', 1, 'admin', '2020-03-30 16:39:07', 'admin', '2020-03-30 17:31:34', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244544705673351169, 1244544611020492801, '', 2, 0, 0, NULL, '居右', 'right', 'GEN_ALIGN_TYPE', '', 1, 'admin', '2020-03-30 16:39:15', 'admin', '2020-03-30 17:31:39', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244544839597477890, 1244544812246421506, '', 0, 0, 0, NULL, '默认', 'default', 'GEN_WIDTH_TYPE', '', 1, 'admin', '2020-03-30 16:39:47', 'admin', '2020-03-30 17:31:55', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244544932237070337, 1244544812246421506, '', 5, 0, 0, NULL, '100', '100', 'GEN_WIDTH_TYPE', '', 1, 'admin', '2020-03-30 16:40:09', 'admin', '2020-03-30 16:40:33', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244544954269749250, 1244544812246421506, '', 2, 0, 0, NULL, '150', '150', 'GEN_WIDTH_TYPE', '', 1, 'admin', '2020-03-30 16:40:14', 'admin', '2020-03-30 16:40:14', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244544972959567874, 1244544812246421506, '', 3, 0, 0, NULL, '120', '120', 'GEN_WIDTH_TYPE', '', 1, 'admin', '2020-03-30 16:40:19', 'admin', '2020-03-30 16:40:19', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244544994480541698, 1244544812246421506, '', 5, 0, 0, NULL, '80', '80', 'GEN_WIDTH_TYPE', '', 1, 'admin', '2020-03-30 16:40:24', 'admin', '2020-03-30 16:40:41', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244545109878427649, 1244544812246421506, '', 1, 0, 0, NULL, '200', '200', 'GEN_WIDTH_TYPE', '', 1, 'admin', '2020-03-30 16:40:51', 'admin', '2020-03-30 16:40:51', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1244558030436048898, 1244545452192354305, '', 0, 0, 0, NULL, '默认', 'default', 'GEN_TOTAL_TYPE', '', 1, 'admin', '2020-03-30 17:32:12', 'admin', '2020-03-30 17:32:21', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1245626625714823169, 1186518011306156033, '', 0, 0, 0, NULL, '单表代码模板', 'single', 'GEN_TEMP_TYPE', '', 1, 'admin', '2020-04-02 16:18:25', 'admin', '2020-04-02 16:19:18', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1245626817264492546, 1186518011306156033, '', 1, 0, 0, NULL, '父子表代码模板', 'parent', 'GEN_TEMP_TYPE', '', 1, 'admin', '2020-04-02 16:19:11', 'admin', '2020-04-02 16:19:24', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1246016796675313666, 1244545452192354305, '', 1, 0, 0, NULL, '合计', 'sum', 'GEN_TOTAL_TYPE', '', 1, 'admin', '2020-04-03 18:08:49', 'admin', '2020-04-03 18:08:49', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1246016839645958146, 1244545452192354305, '', 2, 0, 0, NULL, '平均值', 'avg', 'GEN_TOTAL_TYPE', '', 1, 'admin', '2020-04-03 18:08:59', 'admin', '2020-04-03 18:08:59', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1247060434159144961, 1244544611020492801, '', 0, 0, 0, NULL, '默认-无', 'default', 'GEN_ALIGN_TYPE', '', 1, 'admin', '2020-04-06 15:15:51', 'admin', '2020-04-06 15:19:20', 0);
INSERT INTO `sys_dict_data`(`id`, `pid`, `pids`, `sort`, `is_leaf`, `level`, `pnames`, `dict_label`, `dict_value`, `dict_type`, `remark`, `status`, `creator`, `create_date`, `updater`, `update_date`, `version`) VALUES (1247060938159296514, 1244543870771974145, '', 1, 0, 0, NULL, '有排序', 'true', 'GEN_SORT_TYPE', '', 1, 'admin', '2020-04-06 15:17:52', 'admin', '2020-04-06 15:17:52', 0);


/*
 Navicat Premium Data Transfer

 Source Server         : 47.105.158.68-Ecode
 Source Server Type    : MySQL
 Source Server Version : 50723
 Source Host           : 47.105.158.68:3306
 Source Schema         : uniedp_dev

 Target Server Type    : MySQL
 Target Server Version : 50723
 File Encoding         : 65001

 Date: 09/04/2020 15:21:38
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for gen_code_snippet
-- ----------------------------
DROP TABLE IF EXISTS `gen_code_snippet`;
CREATE TABLE `gen_code_snippet` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `snippet_code` varchar(64) NOT NULL COMMENT '片段编码',
  `snippet_name` varchar(256) NOT NULL COMMENT '片段名称',
  `snippet_type` varchar(64) NOT NULL COMMENT '片段类型',
  `snippet_content` text NOT NULL COMMENT '片段内容',
  `snippet_desc` varchar(256) DEFAULT NULL COMMENT '片段描述',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uq_snippet_code` (`snippet_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='代码片段列表';

-- ----------------------------
-- Records of gen_code_snippet
-- ----------------------------
BEGIN;
INSERT INTO `gen_code_snippet` VALUES (1193813315336351746, 'ui_query_form_i18n', '公共查询工具条_国际化', 'webui', '<el-collapse-transition>\n    <el-form ref=\"query\" v-if=\"searchShow\" :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\">\n      <#list queryColList as c>\n        <#if fieldMap[c.javaField]?? >\n            <#assign fieldName = \"$t(\'common.${c.javaField}\')\">\n        <#else>\n            <#assign fieldName = \"$t(\'${className}.${c.javaField}\')\">\n        </#if>\n        <!--${c.comments}  -->\n        <#if c.showType==\'select\' >\n            <!--下拉框-->\n            <el-form-item>\n              <el-select v-model=\"dataForm.${c.javaField}\" :placeholder=\"${fieldName}\" clearable>\n                <#if c.dictType?? && c.dictType !=\'\' >\n                    <el-option v-for=\"template in $getDictList(\'${c.dictType}\', true)\"\n                    :key=\"template.val\"\n                    :label=\"template.label\"\n                    :value=\"template.val\"></el-option>\n                </#if>\n              </el-select>\n            </el-form-item>\n        <#elseif c.showType==\'dateselect\' >\n            <!--日期框-->\n            <el-form-item>\n              <el-date-picker v-model=\"dataForm.${c.javaField}\"\n              :placeholder=\"${fieldName}\" type=\"date\" ></el-date-picker>\n            </el-form-item>\n        <#else>\n            <!--文本框-->\n            <el-form-item>\n              <el-input v-model=\"dataForm.${c.javaField}\"\n              :placeholder=\"${fieldName}\" clearable></el-input>\n            </el-form-item>\n        </#if>\n      </#list>\n      <el-form-item>\n        <el-button type=\"primary\" @click=\"getDataList()\">{{ $t(\'query\') }}</el-button>\n        <el-button @click=\"searchReset()\">{{ $t(\'reset\') }}</el-button>\n      </el-form-item>\n    </el-form>\n</el-collapse-transition>', '前台列表公共查询', 'admin', '2019-11-11 16:50:49', 'admin', '2020-04-07 09:28:51');
INSERT INTO `gen_code_snippet` VALUES (1193814138111995906, 'ui_query_form', '公共查询工具条-无国际化', 'webui', '<el-collapse-transition>\n    <el-form ref=\"query\" v-if=\"searchShow\" :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\">\n      <#list queryColList as c>\n        <#if c.showType==\'select\' >\n            <!--下拉框-->\n            <el-form-item>\n              <el-select v-model=\"dataForm.${c.javaField}\" placeholder=\"${c.comments}\" clearable>\n                <#if c.dictType?? && c.dictType !=\'\' >\n                    <el-option v-for=\"template in $getDictList(\'${c.dictType}\', true)\"\n                    :key=\"template.val\"\n                    :label=\"template.label\"\n                    :value=\"template.val\"></el-option>\n                </#if>\n              </el-select>\n            </el-form-item>\n        <#elseif c.showType==\'dateselect\' >\n            <!--日期框-->\n            <el-form-item>\n              <el-date-picker v-model=\"dataForm.${c.javaField}\"\n              placeholder=\"${c.comments}\" type=\"date\" ></el-date-picker>\n            </el-form-item>\n        <#else>\n            <!--文本框-->\n            <el-form-item>\n              <el-input v-model=\"dataForm.${c.javaField}\"\n              placeholder=\"${c.comments}\" clearable></el-input>\n            </el-form-item>\n        </#if>\n      </#list>\n      <el-form-item>\n        <el-button type=\"primary\" @click=\"getDataList()\">{{ $t(\'query\') }}</el-button>\n        <el-button @click=\"searchReset()\">{{ $t(\'reset\') }}</el-button>\n      </el-form-item>\n    </el-form>\n</el-collapse-transition>', '前台列表公共查询', 'admin', '2019-11-11 16:54:05', 'admin', '2020-04-07 09:29:09');
INSERT INTO `gen_code_snippet` VALUES (1194432115307986946, 'tablelist', '带工具条的列表无国际化', 'webui', '<vxe-toolbar :custom=\"{immediate:true}\">\n  <template v-slot:buttons>\n    <el-button v-if=\"$hasPermission(\'${moduleName}:${className}:save\')\" type=\"primary\" @click=\"addOrUpdateHandle()\">{{ $t(\'add\') }}</el-button>\n    <el-button v-if=\"$hasPermission(\'${moduleName}:${className}:delete\')\" type=\"danger\" @click=\"deleteHandle()\">{{ $t(\'deleteBatch\') }}</el-button>\n  </template>\n  <template v-slot:tools>\n    <el-button icon=\"el-icon-search\" @click=\"searchShowHandle()\" circle></el-button>\n    <el-button icon=\"el-icon-refresh\" @click=\"getDataList()\" circle></el-button>\n    <el-button icon=\"el-icon-download\" @click=\"exportHandle()\" circle></el-button>\n  </template>\n</vxe-toolbar>\n <#if !table.headLock>\n     <!--  锁定表头设置   :height=\"this.tableHeight\" -->\n</#if>\n<vxe-table ref=\"xTable\"\n           :loading=\"dataListLoading\"\n           class=\"vxe-table-element\"\n           <#if table.headLock>\n           :height=\"this.tableHeight\"\n           </#if>\n           auto-resize\n           <#if totalFlag>\n           show-footer\n           :footer-method=\"footerMethod\"\n            </#if>\n           :sort-config=\"{trigger:\'cell\'}\"\n           @sort-change=\"sortChange\"\n           @select-change=\"dataListSelectionChangeHandleVex\"\n           @select-all=\"dataListSelectionAllChangeHandleVex\"\n           :data=\"dataList\">\n  <vxe-table-column type=\"checkbox\" align=\"center\" width=\"60\"></vxe-table-column>\n <#list listColList as c>\n    <vxe-table-column field=\"${c.javaField}\" title=\"${c.comments}\" <#if c.sortType != \'default\'>sortable remote-sort :sort-by=\"\'${c.columnName}\'\"</#if>  <#if c.widthType != \'default\'> width=\"${c.widthType}\"</#if> <#if c.alignType != \'default\'> align=\"${c.alignType}\"</#if> >\n        <#if c.dictType?? && c.dictType !=\'\' >\n             <template slot-scope=\"scope\">\n                {{$getDictLabel(\'${c.dictType}\', scope.row.${c.javaField})}}\n             </template>\n        </#if>\n    </vxe-table-column>\n  </#list>\n  <vxe-table-column title=\"handle\" width=\"120\" show-overflow=\"false\" fixed=\"right\" align=\"center\" >\n    <template slot-scope=\"scope\">\n     <el-button v-if=\"$hasPermission(\'${moduleName}:${className}:update\')\" type=\"text\" size=\"small\" icon=\"el-icon-edit\"  @click=\"addOrUpdateHandle(scope.row)\">{{ $t(\'update\') }}</el-button>\n      <el-button v-if=\"$hasPermission(\'${moduleName}:${className}:delete\')\" type=\"text\" size=\"small\" icon=\"el-icon-delete\" @click=\"deleteHandle(scope.row.id)\">{{ $t(\'delete\') }}</el-button>\n    </template>\n  </vxe-table-column>\n</vxe-table>\n<el-pagination\n  :current-page=\"page\"\n  :page-sizes=\"pageSizes\"\n  :page-size=\"limit\"\n  :total=\"total\"\n  layout=\"total, sizes, prev, pager, next, jumper\"\n  @size-change=\"pageSizeChangeHandle\"\n  @current-change=\"pageCurrentChangeHandle\">\n</el-pagination>', '', 'admin', '2019-11-13 09:49:42', 'admin', '2020-04-08 15:37:03');
INSERT INTO `gen_code_snippet` VALUES (1194446721036337153, 'tablelist_i18n', '带工具条的列表有国际化', 'webui', '<vxe-toolbar :custom=\"{immediate:true}\" >\n  <template v-slot:buttons>\n    <el-button v-if=\"$hasPermission(\'${moduleName}:${className}:save\')\" type=\"primary\" @click=\"addOrUpdateHandle()\">{{ $t(\'add\') }}</el-button>\n    <el-button v-if=\"$hasPermission(\'${moduleName}:${className}:delete\')\" type=\"danger\" @click=\"deleteHandle()\">{{ $t(\'deleteBatch\') }}</el-button>\n  </template>\n  <template v-slot:tools>\n    <el-button icon=\"el-icon-search\" @click=\"searchShowHandle()\" circle></el-button>\n    <el-button icon=\"el-icon-refresh\" @click=\"getDataList()\" circle></el-button>\n    <el-button icon=\"el-icon-download\" @click=\"exportHandle()\" circle></el-button>\n  </template>\n</vxe-toolbar>\n <#if !table.headLock>\n     <!--  锁定表头设置   :height=\"this.tableHeight\" -->\n</#if>\n<vxe-table ref=\"xTable\"\n           :loading=\"dataListLoading\"\n           class=\"vxe-table-element\"\n           auto-resize\n           <#if totalFlag>\n           show-footer\n           :footer-method=\"footerMethod\"\n            </#if>\n           <#if table.headLock>\n           :height=\"this.tableHeight\"\n           </#if>\n           :sort-config=\"{trigger:\'cell\'}\"\n           @sort-change=\"sortChange\"\n           @select-change=\"dataListSelectionChangeHandleVex\"\n           @select-all=\"dataListSelectionAllChangeHandleVex\"\n           :data=\"dataList\">\n  <vxe-table-column type=\"checkbox\" align=\"center\"  width=\"60\"></vxe-table-column>\n <#list listColList as c>\n    <#if fieldMap[c.javaField]?? >\n        <#assign fieldName = \"common.${c.javaField}\">\n    <#else>\n        <#assign fieldName = \"${className}.${c.javaField}\">\n    </#if>\n   <!--${c.comments}  -->\n    <vxe-table-column field=\"${c.javaField}\" title=\"${fieldName}\"  <#if c.sortType != \'default\'>sortable remote-sort :sort-by=\"\'${c.columnName}\'\"</#if>  <#if c.widthType != \'default\'> width=\"${c.widthType}\"</#if> <#if c.alignType != \'default\'> align=\"${c.alignType}\"</#if> <#if table.columnLocks??&&table.columnLocks?seq_contains(c.javaField)> fixed=\"left\" </#if>  >\n        <#if c.dictType?? && c.dictType !=\'\' >\n             <template slot-scope=\"scope\">\n                {{$getDictLabel(\'${c.dictType}\', scope.row.${c.javaField})}}\n             </template>\n        </#if>\n    </vxe-table-column>\n  </#list>\n  <vxe-table-column title=\"handle\" align=\"center\" show-overflow=\"false\" width=\"120\" fixed=\"right\" >\n    <template slot-scope=\"scope\">\n       <el-button v-if=\"$hasPermission(\'${moduleName}:${className}:update\')\" type=\"text\" size=\"small\" icon=\"el-icon-edit\"  @click=\"addOrUpdateHandle(scope.row)\">{{ $t(\'update\') }}</el-button>\n      <el-button v-if=\"$hasPermission(\'${moduleName}:${className}:delete\')\" type=\"text\" size=\"small\" icon=\"el-icon-delete\" @click=\"deleteHandle(scope.row.id)\">{{ $t(\'delete\') }}</el-button>\n    </template>\n  </vxe-table-column>\n</vxe-table>\n<el-pagination\n  :current-page=\"page\"\n  :page-sizes=\"pageSizes\"\n  :page-size=\"limit\"\n  :total=\"total\"\n  layout=\"total, sizes, prev, pager, next, jumper\"\n  @size-change=\"pageSizeChangeHandle\"\n  @current-change=\"pageCurrentChangeHandle\">\n</el-pagination>', '', 'admin', '2019-11-13 10:47:45', 'admin', '2020-04-08 15:36:52');
INSERT INTO `gen_code_snippet` VALUES (1194448133921193986, 'edit_form', '编辑表单无国际化', 'webui', '<el-form v-loading=\"loading\" :model=\"dataForm\" :rules=\"dataRule\" ref=\"dataForm\" :label-width=\"$i18n.locale === \'en-US\' ? \'120px\' : \'120px\'\">\r\n<#list editColList as c>\r\n  <#assign fieldName = c.comments >\r\n  <el-col :span=\"${c.optionsLayout}\">\r\n    <!-- ${c.comments} -->\r\n    <el-form-item label=\"${fieldName}\"\r\n        <#if c.showType==\'select\' >\r\n             prop=\"${c.javaField}\">\r\n            <!--下拉框-->\r\n            <el-select v-model=\"dataForm.${c.javaField}\" placeholder=\"${fieldName}\" clearable>\r\n                <#if c.dictType?? && c.dictType !=\'\' >\r\n                    <el-option v-for=\"template in $getDictList(\'${c.dictType}\', true)\"\r\n                    :key=\"template.val\"\r\n                    :label=\"template.label\"\r\n                    :value=\"template.val\"></el-option>\r\n                </#if>\r\n            </el-select>\r\n        <#elseif c.showType==\'parentselect\' >\r\n              >\r\n            <!--父级选择框-->\r\n            <el-tree-select v-model=\"dataForm.${c.javaField}\" ref=\"parentTree\" \r\n              :data=\"parentTreeData\" />\r\n        <#elseif c.showType==\'dateselect\' >\r\n             prop=\"${c.javaField}\">\r\n            <!--日期框-->\r\n            <el-date-picker v-model=\"dataForm.${c.javaField}\" value-format=\"yyyy-MM-dd HH:mm:ss\"\r\n            placeholder=\"${fieldName}\" type=\"date\" ></el-date-picker>\r\n        <#elseif c.showType==\'textarea\' >\r\n             prop=\"${c.javaField}\">\r\n            <!--文本域-->\r\n            <el-input type=\"textarea\" :rows=\"3\" v-model=\"dataForm.${c.javaField}\"\r\n            placeholder=\"${fieldName}\"  ></el-input>\r\n        <#elseif c.showType==\'radiobox\' >\r\n             prop=\"${c.javaField}\">\r\n            <!--单选框-->\r\n            <#if c.dictType?? && c.dictType !=\'\' >\r\n                <el-radio-group v-model=\"dataForm.${c.javaField}\">\r\n                    <el-radio v-for=\"template in $getDictList(\'${c.dictType}\', true)\"\r\n                    :key=\"template.val\" :label=\"template.val\" >{{template.label}}</el-radio>\r\n                </el-radio-group>\r\n            <#else>\r\n                 <el-radio v-model=\"dataForm.${c.javaField}\" label=\"-1\">未知</el-radio>\r\n            </#if>\r\n        <#elseif c.showType==\'checkbox\' >\r\n             prop=\"${c.javaField}\">\r\n            <!--复选框-->\r\n            <#if c.dictType?? && c.dictType !=\'\' >\r\n                <<el-checkbox-group v-model=\"dataForm.${c.javaField}\">\r\n                    <el-checkbox v-for=\"template in $getDictList(\'${c.dictType}\', true)\"\r\n                    :label=\"template.val\" :key=\"template.val\">{{template.label}}</el-checkbox>\r\n                </el-checkbox-group>\r\n            <#else>\r\n                 <el-checkbox v-model=\"dataForm.${c.javaField}\" >未知</el-checkbox>\r\n            </#if>\r\n        <#elseif c.showType==\'editor\' >\r\n             prop=\"${c.javaField}\">\r\n            <!--富文本-->\r\n            <uni-editor v-model=\"dataForm.${c.javaField}\"></uni-editor>\r\n        <#elseif c.showType==\'number\' >\r\n             prop=\"${c.javaField}\">\r\n            <!--计数器-->\r\n             <el-input-number v-model=\"dataForm.${c.javaField}\" :min=\"1\" :max=\"50\" ></el-input-number>\r\n        <#else>\r\n              prop=\"${c.javaField}\">\r\n            <!--文本框-->\r\n            <el-input v-model=\"dataForm.${c.javaField}\"\r\n                placeholder=\"${fieldName}\" clearable></el-input>\r\n        </#if>\r\n    </el-form-item>\r\n  </el-col>\r\n</#list>\r\n</el-form>', '', 'admin', '2019-11-13 10:53:22', 'admin', '2019-12-04 18:54:37');
INSERT INTO `gen_code_snippet` VALUES (1194448335260368898, 'edit_form_i18n', '编辑表单有国际化', 'webui', '<el-form :model=\"dataForm\" :rules=\"dataRule\" ref=\"dataForm\" :label-width=\"$i18n.locale === \'en-US\' ? \'140px\' : \'160px\'\">\n<#list editColList as c>\n  <#if fieldMap[c.javaField]?? >\n      <#assign fieldName = \"$t(\'common.${c.javaField}\')\">\n  <#else>\n      <#assign fieldName = \"$t(\'${className}.${c.javaField}\')\">\n  </#if>\n  <el-col :span=\"${c.optionsLayout}\">\n      <!-- ${c.comments} -->\n      <el-form-item :label=\"${fieldName}\" prop=\"${c.javaField}\">\n          <#if c.showType==\'select\' >\n              <!--下拉框-->\n              <el-select v-model=\"dataForm.${c.javaField}\" :placeholder=\"${fieldName}\" clearable>\n                  <#if c.dictType?? && c.dictType !=\'\' >\n                      <el-option v-for=\"template in $getDictList(\'${c.dictType}\', true)\"\n                      :key=\"template.val\"\n                      :label=\"template.label\"\n                      :value=\"template.val\"></el-option>\n                  </#if>\n              </el-select>\n         <#elseif c.showType==\'parentselect\' >\n            <!--父级选择框-->\n            <el-tree-select v-model=\"dataForm.${c.javaField}\" ref=\"parentTree\" \n              :data=\"parentTreeData\" />\n          <#elseif c.showType==\'dateselect\' >\n              <!--日期框-->\n              <el-date-picker v-model=\"dataForm.${c.javaField}\" value-format=\"yyyy-MM-dd HH:mm:ss\"\n              :placeholder=\"${fieldName}\" type=\"date\" ></el-date-picker>\n          <#elseif c.showType==\'textarea\' >\n              <!--文本域-->\n              <el-input type=\"textarea\" :rows=\"3\" v-model=\"dataForm.${c.javaField}\"\n              :placeholder=\"${fieldName}\"  ></el-input>\n          <#elseif c.showType==\'radiobox\' >\n              <!--单选框-->\n              <#if c.dictType?? && c.dictType !=\'\' >\n                  <el-radio-group v-model=\"dataForm.${c.javaField}\">\n                      <el-radio v-for=\"template in $getDictList(\'${c.dictType}\', true)\"\n                      :key=\"template.val\" :label=\"template.val\" >{{template.label}}</el-radio>\n                  </el-radio-group>\n              <#else>\n                   <el-radio v-model=\"dataForm.${c.javaField}\" label=\"-1\">未知</el-radio>\n              </#if>\n          <#elseif c.showType==\'checkbox\' >\n              <!--复选框-->\n              <#if c.dictType?? && c.dictType !=\'\' >\n                  <el-checkbox-group v-model=\"dataForm.${c.javaField}\">\n                      <el-checkbox v-for=\"template in $getDictList(\'${c.dictType}\', true)\"\n                      :label=\"template.val\" :key=\"template.val\">{{template.label}}</el-checkbox>\n                  </el-checkbox-group>\n              <#else>\n                   <el-checkbox v-model=\"dataForm.${c.javaField}\" >未知</el-checkbox>\n              </#if>\n          <#elseif c.showType==\'editor\' >\n              <!--富文本-->\n              <uni-editor v-model=\"dataForm.${c.javaField}\"></uni-editor>\n          <#elseif c.showType==\'number\' >\n              <!--计数器-->\n               <el-input-number v-model=\"dataForm.${c.javaField}\" :min=\"1\" :max=\"50\" ></el-input-number>\n          <#else>\n              <!--文本框-->\n              <el-input v-model=\"dataForm.${c.javaField}\"\n                  :placeholder=\"${fieldName}\" clearable></el-input>\n          </#if>\n      </el-form-item>\n  </el-col>\n</#list>\n</el-form>', '', 'admin', '2019-11-13 10:54:10', 'admin', '2020-04-08 13:51:37');
INSERT INTO `gen_code_snippet` VALUES (1194452383397068801, 'edit_form_imp', '表单公共导入', 'webui', '<#if  validsImp?? && (validsImp?size &gt; 0) >\r\nimport {\r\n <#list validsImp as validImp >\r\n    ${validImp}<#if validImp_has_next>,</#if>\r\n </#list>\r\n } from \'@/utils/validate\'\r\n</#if>', '', 'admin', '2019-11-13 11:10:15', 'admin', '2019-11-13 11:11:08');
INSERT INTO `gen_code_snippet` VALUES (1194452548950441985, 'edit_form_computed', '表单公共验证', 'webui', 'computed: {\r\n    dataRule () {\r\n      return {\r\n        <#list editColList as c>\r\n			<#if  c.valids?? && (c.valids?size &gt; 0) >\r\n				${c.javaField}: [\r\n					<#list c.valids as valid>\r\n						<#if valid ==\'required\' >\r\n				 			{ required: true, message: this.$t(\'validate.required\'), trigger: \'blur\'}\r\n				 		</#if>\r\n				 		<#if valid ==\'email\' >\r\n				 		{ required : ${c.valids?seq_contains(\"required\")?string(\"true\", \"false\")}, validator: validateEmail, trigger: \'blur\' }\r\n				 		</#if>\r\n				 		<#if valid ==\'mobile\' >\r\n				 		{ required : ${c.valids?seq_contains(\"required\")?string(\"true\", \"false\")}, validator: validateMobile, trigger: \'blur\' }\r\n				 		</#if>\r\n				 		<#if valid ==\'phone\' >\r\n				 		{ required : ${c.valids?seq_contains(\"required\")?string(\"true\", \"false\")}, validator: validatePhone, trigger: \'blur\' }\r\n				 		</#if>\r\n				 		<#if valid ==\'url\' >\r\n				 		{ required : ${c.valids?seq_contains(\"required\")?string(\"true\", \"false\")}, validator: validateUrl, trigger: \'blur\' }\r\n				 		</#if>\r\n				 		<#if valid ==\'num\' >\r\n				 		{ required : ${c.valids?seq_contains(\"required\")?string(\"true\", \"false\")}, validator: validateNum, trigger: \'blur\' }\r\n				 		</#if><#if valid_has_next>,</#if>\r\n				 	</#list>\r\n				 ]<#if c_has_next>,</#if>\r\n			</#if>\r\n        </#list>\r\n      }\r\n    }\r\n  },', '', 'admin', '2019-11-13 11:10:54', 'admin', '2019-11-13 11:10:54');
INSERT INTO `gen_code_snippet` VALUES (1194453607202701314, 'edit_form_getinfo', '表单公共获取内容', 'webui', ' // 获取信息\r\n    getInfo () {\r\n      	this.$http.get(`/${moduleName}/${className}/${r\"${\"}this.dataForm.${pkField}${r\"}\"}`).then(({ data: res }) => {\r\n      	this.loading = false\r\n        if (res.code !== 0) {\r\n          return false\r\n        }\r\n        this.dataForm = {\r\n          ...this.dataForm,\r\n          ...res.data\r\n        }\r\n      }).catch(() => {})\r\n    },', '', 'admin', '2019-11-13 11:15:06', 'admin', '2019-11-13 11:15:06');
INSERT INTO `gen_code_snippet` VALUES (1196609983999918082, 'tree_tablelist', '树形列表无国际化', 'webui', '<vxe-toolbar :custom=\"{immediate:true}\">\n  <template v-slot:buttons>\n    <el-button v-if=\"$hasPermission(\'${moduleName}:${className}:save\')\" type=\"primary\" @click=\"addOrUpdateHandle()\">{{ $t(\'add\') }}</el-button>\n  <el-button @click=\"$refs.xTree.setAllTreeExpansion(true)\">{{ $t(\'openall\') }}</el-button>\n  <el-button @click=\"$refs.xTree.clearTreeExpand()\">{{ $t(\'closeall\') }}</el-button>\n  </template>\n  <template v-slot:tools>\n    <el-button icon=\"el-icon-search\" @click=\"searchShowHandle()\" circle></el-button>\n    <el-button icon=\"el-icon-refresh\" @click=\"getTreeDataList()\" circle></el-button>\n    <el-button icon=\"el-icon-download\" @click=\"$refs.xTable.openExport()\" circle></el-button>\n  </template>\n</vxe-toolbar>\n<vxe-table ref=\"xTree\"\n           :loading=\"dataListLoading\"\n           auto-resize\n            :tree-config=\"{children: \'children\',trigger:\'cell\'}\"\n           :data=\"dataList\">\n  <vxe-table-column type=\"index\" width=\"120\" align=\"left\" tree-node></vxe-table-column>\n <#list listColList as c>\n    <vxe-table-column field=\"${c.javaField}\" title=\"${c.comments}\" <#if c.widthType != \'default\'> width=\"${c.widthType}\"</#if> <#if c.alignType != \'default\'> align=\"${c.alignType}\"</#if> <#if table.columnLocks??&&table.columnLocks?seq_contains(c.javaField)> fixed=\"left\" </#if> >\n        <#if c.dictType?? && c.dictType !=\'\' >\n             <template slot-scope=\"scope\">\n                {{$getDictLabel(\'${c.dictType}\', scope.row.${c.javaField})}}\n             </template>\n        </#if>\n    </vxe-table-column>\n  </#list>\n  <vxe-table-column title=\"handle\" align=\"center\" show-overflow=\"false\" width=\"170\" fixed=\"right\" >\n    <template slot-scope=\"scope\">\n    <el-button v-if=\"$hasPermission(\'${moduleName}:${className}:save\')\" type=\"text\" size=\"small\" icon=\"el-icon-plus\" @click=\"addChild(scope.row)\">{{ $t(\'addChild\') }}</el-button>\n      <el-button v-if=\"$hasPermission(\'gen:genTableTemplate:update\')\" type=\"text\" size=\"small\" icon=\"el-icon-edit\"  @click=\"addOrUpdateHandle(scope.row)\">{{ $t(\'update\') }}</el-button>\n      <el-button v-if=\"$hasPermission(\'gen:genTableTemplate:delete\')\" type=\"text\" size=\"small\" icon=\"el-icon-delete\" @click=\"deleteHandle(scope.row.id)\">{{ $t(\'delete\') }}</el-button>\n    </template>\n  </vxe-table-column>\n</vxe-table>\n', '', 'admin', '2019-11-19 10:03:47', 'admin', '2020-04-08 13:36:11');
INSERT INTO `gen_code_snippet` VALUES (1196673365746663425, 'ui_tree_query_form', '树形列表查询工具', 'webui', '<el-collapse-transition>\n    <el-form v-if=\"searchShow\" ref=\"query\" :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\">\n      <#list queryColList as c>\n        <#if c.showType==\'select\' >\n            <!--下拉框-->\n            <el-form-item>\n              <el-select v-model=\"dataForm.${c.javaField}\" placeholder=\"${c.comments}\" clearable>\n                <#if c.dictType?? && c.dictType !=\'\' >\n                    <el-option v-for=\"template in $getDictList(\'${c.dictType}\', true)\"\n                    :key=\"template.val\"\n                    :label=\"template.label\"\n                    :value=\"template.val\"></el-option>\n                </#if>\n              </el-select>\n            </el-form-item>\n        <#elseif c.showType==\'dateselect\' >\n            <!--日期框-->\n            <el-form-item>\n              <el-date-picker v-model=\"dataForm.${c.javaField}\"\n              placeholder=\"${c.comments}\" type=\"date\" ></el-date-picker>\n            </el-form-item>\n        <#else>\n            <!--文本框-->\n            <el-form-item>\n              <el-input v-model=\"dataForm.${c.javaField}\"\n              placeholder=\"${c.comments}\" clearable></el-input>\n            </el-form-item>\n        </#if>\n      </#list>\n      <el-form-item>\n        <el-button type=\"primary\" @click=\"getTreeDataList()\">{{ $t(\'query\') }}</el-button>\n        <el-button @click=\"searchReset()\">{{ $t(\'reset\') }}</el-button>\n      </el-form-item>\n    </el-form>\n</el-collapse-transition>', '', 'admin', '2019-11-19 14:15:38', 'admin', '2020-04-08 13:52:03');
INSERT INTO `gen_code_snippet` VALUES (1247465785450848257, 'tree_tablelist_i18n', '树形列表有国际化', 'webui', '<vxe-toolbar :custom=\"{immediate:true}\">\n  <template v-slot:buttons>\n    <el-button v-if=\"$hasPermission(\'${moduleName}:${className}:save\')\" type=\"primary\" @click=\"addOrUpdateHandle()\">{{ $t(\'add\') }}</el-button>\n  <el-button @click=\"$refs.xTree.setAllTreeExpansion(true)\">{{ $t(\'openall\') }}</el-button>\n  <el-button @click=\"$refs.xTree.clearTreeExpand()\">{{ $t(\'closeall\') }}</el-button>\n  </template>\n  <template v-slot:tools>\n    <el-button icon=\"el-icon-search\" @click=\"searchShowHandle()\" circle></el-button>\n    <el-button icon=\"el-icon-refresh\" @click=\"getTreeDataList()\" circle></el-button>\n    <el-button icon=\"el-icon-download\" @click=\"$refs.xTable.openExport()\" circle></el-button>\n  </template>\n</vxe-toolbar>\n<vxe-table ref=\"xTree\"\n           :loading=\"dataListLoading\"\n           auto-resize\n            :tree-config=\"{children: \'children\',trigger:\'cell\'}\"\n           :data=\"dataList\">\n  <vxe-table-column type=\"index\" width=\"120\" align=\"left\" tree-node></vxe-table-column>\n <#list listColList as c>\n   <#if fieldMap[c.javaField]?? >\n        <#assign fieldName = \"common.${c.javaField}\">\n    <#else>\n        <#assign fieldName = \"${className}.${c.javaField}\">\n    </#if>\n   <!--${c.comments}  -->\n    <vxe-table-column field=\"${c.javaField}\" title=\"${fieldName}\"  <#if c.widthType != \'default\'> width=\"${c.widthType}\"</#if> <#if c.alignType != \'default\'> align=\"${c.alignType}\"</#if> <#if table.columnLocks??&&table.columnLocks?seq_contains(c.javaField)> fixed=\"left\" </#if>   >\n        <#if c.dictType?? && c.dictType !=\'\' >\n             <template slot-scope=\"scope\">\n                {{$getDictLabel(\'${c.dictType}\', scope.row.${c.javaField})}}\n             </template>\n        </#if>\n    </vxe-table-column>\n  </#list>\n  <vxe-table-column title=\"handle\" align=\"center\" show-overflow=\"false\" width=\"170\" fixed=\"right\" >\n    <template slot-scope=\"scope\">\n    <el-button v-if=\"$hasPermission(\'${moduleName}:${className}:save\')\" type=\"text\" size=\"small\" icon=\"el-icon-plus\" @click=\"addChild(scope.row)\">{{ $t(\'addChild\') }}</el-button>\n      <el-button v-if=\"$hasPermission(\'gen:genTableTemplate:update\')\" type=\"text\" size=\"small\" icon=\"el-icon-edit\"  @click=\"addOrUpdateHandle(scope.row)\">{{ $t(\'update\') }}</el-button>\n      <el-button v-if=\"$hasPermission(\'gen:genTableTemplate:delete\')\" type=\"text\" size=\"small\" icon=\"el-icon-delete\" @click=\"deleteHandle(scope.row.id)\">{{ $t(\'delete\') }}</el-button>\n    </template>\n  </vxe-table-column>\n</vxe-table>\n', '', 'admin', '2020-04-07 18:06:35', 'admin', '2020-04-08 13:35:36');
INSERT INTO `gen_code_snippet` VALUES (1247697161521520641, 'ui_tree_query_form_i18n', '树形列表查询工具有国际化', 'webui', '<el-collapse-transition>\n    <el-form v-if=\"searchShow\" ref=\"query\" :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\">\n      <#list queryColList as c>\n        <#if fieldMap[c.javaField]?? >\n            <#assign fieldName = \"$t(\'common.${c.javaField}\')\">\n        <#else>\n            <#assign fieldName = \"$t(\'${className}.${c.javaField}\')\">\n        </#if>\n        <!--${c.comments}  -->\n        <#if c.showType==\'select\' >\n            <!--下拉框-->\n            <el-form-item>\n              <el-select v-model=\"dataForm.${c.javaField}\" :placeholder=\"${fieldName}\" clearable>\n                <#if c.dictType?? && c.dictType !=\'\' >\n                    <el-option v-for=\"template in $getDictList(\'${c.dictType}\', true)\"\n                    :key=\"template.val\"\n                    :label=\"template.label\"\n                    :value=\"template.val\"></el-option>\n                </#if>\n              </el-select>\n            </el-form-item>\n        <#elseif c.showType==\'dateselect\' >\n            <!--日期框-->\n            <el-form-item>\n              <el-date-picker v-model=\"dataForm.${c.javaField}\"\n              :placeholder=\"${fieldName}\" type=\"date\" ></el-date-picker>\n            </el-form-item>\n        <#else>\n            <!--文本框-->\n            <el-form-item>\n              <el-input v-model=\"dataForm.${c.javaField}\"\n              :placeholder=\"${fieldName}\" clearable></el-input>\n            </el-form-item>\n        </#if>\n      </#list>\n      <el-form-item>\n        <el-button type=\"primary\" @click=\"getTreeDataList()\">{{ $t(\'query\') }}</el-button>\n        <el-button @click=\"searchReset()\">{{ $t(\'reset\') }}</el-button>\n      </el-form-item>\n    </el-form>\n</el-collapse-transition>', '', 'admin', '2020-04-08 09:25:59', 'admin', '2020-04-08 13:51:49');
COMMIT;


-- ----------------------------
-- Table structure for gen_table
-- ----------------------------
DROP TABLE IF EXISTS `gen_table`;
CREATE TABLE `gen_table` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `source_code` varchar(255) NOT NULL,
  `source_name` varchar(255) NOT NULL,
  `table_name` varchar(64) NOT NULL COMMENT '表名',
  `class_name` varchar(100) NOT NULL COMMENT '实体类名称',
  `comments` text NOT NULL COMMENT '表说明',
  `tpl_category` text COMMENT '生成模板分类',
  `package_name` text COMMENT '生成包路径',
  `module_name` varchar(30) DEFAULT NULL COMMENT '生成模块名',
  `sub_module_name` varchar(30) DEFAULT NULL COMMENT '生成子模块名',
  `function_name` text COMMENT '生成功能名',
  `function_name_simple` varchar(100) DEFAULT NULL COMMENT '生成功能名（简写）',
  `function_author` varchar(100) DEFAULT NULL COMMENT '生成功能作者',
  `language_flag` tinyint(1) DEFAULT '1' COMMENT '是否支持国际化',
  `tenant_flag` tinyint(1) DEFAULT '1' COMMENT '是否支持多租户',
  `gen_base_dir` text COMMENT '生成基础路径',
  `data_filter_str` varchar(512) DEFAULT NULL COMMENT '数据权限串',
  `head_lock` tinyint(1) DEFAULT '1' COMMENT '表头锁定',
  `column_lock` varchar(256) DEFAULT NULL COMMENT '锁定列',
  `options` text COMMENT '其它生成选项',
  `child_table_code` varchar(64) DEFAULT NULL COMMENT '子表关联表名',
  `child_field_code` varchar(64) DEFAULT NULL COMMENT '子表关联字段',
  `is_sync` tinyint(1) DEFAULT NULL COMMENT '是否同步表结构 0-否 1-是',
  `remark` varchar(255) DEFAULT NULL COMMENT '备注信息',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uq_source_table_name` (`source_code`,`table_name`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='生成表';


-- ----------------------------
-- Table structure for gen_table_column
-- ----------------------------
DROP TABLE IF EXISTS `gen_table_column`;
CREATE TABLE `gen_table_column` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `table_id` bigint(20) DEFAULT NULL,
  `table_name` varchar(64) NOT NULL COMMENT '表名',
  `column_name` varchar(64) NOT NULL COMMENT '列名',
  `column_type` varchar(100) NOT NULL COMMENT '类型',
  `comments` text COMMENT '列说明',
  `java_field` varchar(200) NOT NULL COMMENT 'JAVA字段名',
  `java_type` text NOT NULL COMMENT 'JAVA字段类型',
  `is_pk` char(1) DEFAULT NULL COMMENT '是否主键',
  `is_null` char(1) DEFAULT NULL COMMENT '是否可为空',
  `is_insert` char(1) DEFAULT NULL COMMENT '是否插入字段',
  `is_update` char(1) DEFAULT NULL COMMENT '是否更新字段',
  `is_list` char(1) DEFAULT NULL COMMENT '是否列表字段',
  `sort_type` varchar(16) DEFAULT NULL COMMENT '排序类型',
  `format_type` varchar(16) DEFAULT NULL COMMENT '格式类型',
  `align_type` varchar(16) DEFAULT NULL COMMENT '居中类型',
  `width_type` varchar(16) DEFAULT NULL COMMENT '宽度类型',
  `is_query` char(1) DEFAULT NULL COMMENT '是否查询字段',
  `query_type` varchar(200) DEFAULT NULL COMMENT '查询方式',
  `total_type` varchar(16) DEFAULT NULL COMMENT '合计类型',
  `is_edit` char(1) DEFAULT NULL COMMENT '是否编辑',
  `is_delt` char(1) DEFAULT NULL COMMENT '是否编辑字段',
  `show_type` varchar(200) DEFAULT NULL COMMENT '表单类型',
  `dict_type` varchar(200) DEFAULT NULL COMMENT '字典类型',
  `sorts` decimal(8,0) DEFAULT NULL COMMENT '排序（升序）',
  `valid` text COMMENT '字段验证',
  `options` text COMMENT '其它生成选项',
  `remarks` varchar(255) DEFAULT NULL COMMENT '备注信息',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uq_table_id_colnumn` (`table_id`,`column_name`,`table_name`) USING BTREE,
  KEY `IDX_GEN_TABLE_COLUMN_TN` (`table_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='生成表字段';


-- ----------------------------
-- Table structure for gen_table_template
-- ----------------------------
DROP TABLE IF EXISTS `gen_table_template`;
CREATE TABLE `gen_table_template` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `template_code` varchar(64) NOT NULL COMMENT '模板编码',
  `template_name` varchar(256) NOT NULL COMMENT '模板描述',
  `template_file` varchar(512) NOT NULL COMMENT '模板文件路径',
  `app_type` varchar(64) DEFAULT NULL COMMENT '程序类型',
  `file_path` varchar(256) DEFAULT NULL COMMENT '代码文件路径',
  `file_name` varchar(256) DEFAULT NULL COMMENT '代码文件名',
  `file_content` text COMMENT '代码内容',
  `remark` varchar(256) DEFAULT NULL COMMENT '备注信息',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uq_source_table_name` (`template_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='生成模板列表';

-- ----------------------------
-- Records of gen_table_template
-- ----------------------------
BEGIN;
INSERT INTO `gen_table_template` VALUES (1, 'entity', '单体通用-数据实体类', 'javafile/web/common/entity.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/entity', '${ClassName}Entity.java', '/**\n * Copyright &copy; 2013-2019 山东易科德软件有限公司\n * All rights reserved.\n */\npackage ${packageName}.modules.${moduleName}.entity;\nimport com.baomidou.mybatisplus.annotation.FieldFill;\nimport com.baomidou.mybatisplus.annotation.TableField;\nimport com.baomidou.mybatisplus.annotation.TableName;\n<#if table.tenantFlag>\nimport ${packageName}.core.entity.BaseTenantEntity;\n<#else>\nimport ${packageName}.core.entity.BaseEntity;\n</#if>\nimport lombok.Data;\nimport lombok.EqualsAndHashCode;\n<#list importList as i>\nimport ${i};\n</#list>\n/**\n * ${table.tableNameAndComments}\n * ${functionName}Entity\n * @author ${functionAuthor}\n * @since  ${functionVersion}\n */\n@Data\n@EqualsAndHashCode(callSuper=false)\n@TableName(\"${tableName}\")\npublic class ${ClassName}Entity extends  <#if table.tenantFlag>BaseTenantEntity<#else>BaseEntity</#if> {\n    private static final long serialVersionUID = ${uuid}L;\n    <#-- 生成字段属性 -->\n     <#list columnList as c>\n     <#if c.columnName!= \'id\' && c.columnName!= \'creator\' && c.columnName!= \'create_date\' && c.columnName!= \'tenant_id\' >\n    /**\n    * <#if c.comments??>${c.comments}</#if>\n    */\n    <#if c.columnName == \'updater\' || c.columnName == \'update_date\'>\n    @TableField(fill = FieldFill.INSERT_UPDATE)\n    </#if>\n    private ${c.simpleJavaType} ${c.simpleJavaField};\n    </#if>\n   </#list>\n}\n', NULL, '1', '2019-10-22 15:03:20', 'admin', '2020-04-06 12:55:38');
INSERT INTO `gen_table_template` VALUES (2, 'dto', '单体通用-页面实体类', 'javafile/web/common/dto.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/dto', '${ClassName}DTO.java', '/**\n * Copyright &copy; 2013-2019 山东易科德软件有限公司\n * All rights reserved.\n */\npackage ${packageName}.modules.${moduleName}.dto;\nimport io.swagger.annotations.ApiModel;\nimport io.swagger.annotations.ApiModelProperty;\nimport lombok.Data;\nimport java.io.Serializable;\n<#list importList as i>\nimport ${i};\n</#list>\n/**\n * ${table.tableNameAndComments}\n * ${functionName}DTO\n * @author ${functionAuthor}\n * @since  ${functionVersion}\n */\n@Data\n@ApiModel(value = \"${table.comments}\")\npublic class ${ClassName}DTO implements Serializable {\n   private static final long serialVersionUID = 1L;\n    <#-- 生成非主键字段属性 -->\n    <#list columnList as c>\n    /**\n    * <#if c.comments??>${c.comments}</#if>\n    */\n    @ApiModelProperty(value = \"${c.comments}\")\n    private ${c.simpleJavaType} ${c.simpleJavaField};\n   </#list>\n}', NULL, '1', '2019-10-22 15:03:20', 'admin', '2019-11-13 17:10:55');
INSERT INTO `gen_table_template` VALUES (3, 'execl', '单体通用-导入导出类', 'javafile/web/common/excel.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/excel', '${ClassName}Excel.java', '/**\n * Copyright &copy; 2013-2019 山东易科德软件有限公司\n * All rights reserved.\n */\npackage ${packageName}.modules.${moduleName}.excel;\nimport cn.afterturn.easypoi.excel.annotation.Excel;\nimport lombok.Data;\n<#list importList as i>\nimport ${i};\n</#list>\n/**\n * ${table.tableNameAndComments}\n * ${functionName}Excel\n * @author ${functionAuthor}\n * @since  ${functionVersion}\n */\n@Data\npublic class ${ClassName}Excel {\n   private static final long serialVersionUID = 1L;\n  <#-- 生成非主键字段属性 -->\n  <#list columnList as c>\n    /**\n    * <#if c.comments??>${c.comments}</#if>\n    */\n    @Excel(name = \"${c.comments}\")\n    private ${c.simpleJavaType} ${c.simpleJavaField};\n </#list>\n}\n', NULL, '1', '2019-10-22 15:03:20', 'admin', '2019-11-13 17:11:43');
INSERT INTO `gen_table_template` VALUES (4, 'dao', '单体通用-数据操作', 'javafile/web/common/dao.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/dao', '${ClassName}Dao.java', '/**\n * Copyright &copy; 2013-2019 山东易科德软件有限公司\n * All rights reserved.\n */\npackage ${packageName}.modules.${moduleName}.dao;\nimport ${packageName}.core.dao.BaseDao;\nimport ${packageName}.modules.${moduleName}.entity.${ClassName}Entity;\nimport org.apache.ibatis.annotations.Mapper;\n<#if table.ruleSorts?? >\nimport com.baomidou.mybatisplus.core.conditions.Wrapper;\nimport com.baomidou.mybatisplus.core.metadata.IPage;\nimport com.baomidou.mybatisplus.core.toolkit.Constants;\nimport com.uniedp.common.annotation.DataFilter;\nimport org.apache.ibatis.annotations.Param;\nimport java.util.List;\n</#if>\n/**\n * ${table.tableNameAndComments}\n * ${functionName}Dao\n * @author ${functionAuthor}\n * @since  ${functionVersion}\n */\n@Mapper\npublic interface ${ClassName}Dao extends BaseDao<${ClassName}Entity> {\n   <#if table.ruleSorts?? >\n        /**\n     * 根据 entity 条件，查询全部记录\n     *\n     * @param queryWrapper 实体对象封装操作类（可以为 null）\n     */\n    @Override\n    @DataFilter(bizTableAliasFields={<#list table.ruleSorts as c><#if c ==\'DS_COMPANY\' >\"${c},company_id\"<#elseif c ==\'DS_DEPT\'>\"${c},dept_id\"</#if><#if c_has_next>,</#if></#list>})\n    List<${ClassName}Entity> selectList(@Param(Constants.WRAPPER)Wrapper<${ClassName}Entity> queryWrapper);\n\n    /**\n     * 根据 entity 条件，查询全部记录（并翻页）\n     *\n     * @param page         分页查询条件（可以为 RowBounds.DEFAULT）\n     * @param queryWrapper 实体对象封装操作类（可以为 null）\n     */\n    @Override\n    @DataFilter(bizTableAliasFields={<#list table.ruleSorts as c><#if c ==\'DS_COMPANY\' >\"${c},company_id\"<#elseif c ==\'DS_DEPT\'>\"${c},dept_id\"</#if><#if c_has_next>,</#if></#list>})\n    <E extends IPage<${ClassName}Entity>> E selectPage(E page, @Param(Constants.WRAPPER)Wrapper<${ClassName}Entity> queryWrapper);\n   </#if>\n}', NULL, '1', '2019-10-22 15:03:20', 'admin', '2020-04-09 14:06:59');
INSERT INTO `gen_table_template` VALUES (5, 'mapper', '单体通用-数据库操作映射', 'javafile/web/common/daoMapper.xml', 'java', 'src/main/resources/mapper/${moduleName}', '${ClassName}Dao.xml', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/dtd/mybatis-3-mapper.dtd\">\n<mapper namespace=\"${packageName}.modules.${moduleName}.dao.${ClassName}Dao\">\n</mapper>', NULL, '1', '2019-10-22 15:03:20', 'admin', '2019-11-13 17:11:16');
INSERT INTO `gen_table_template` VALUES (6, 'service', '单体通用-业务逻辑接口', 'javafile/web/common/service.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/service', '${ClassName}Service.java', '/**\n * Copyright &copy; 2013-2019 山东易科德软件有限公司\n * All rights reserved.\n */\npackage ${packageName}.modules.${moduleName}.service;\nimport java.util.List;\nimport ${packageName}.core.service.CrudService;\nimport ${packageName}.modules.${moduleName}.dto.${ClassName}DTO;\nimport ${packageName}.modules.${moduleName}.entity.${ClassName}Entity;\n/**\n * ${functionName}Service\n * @author ${functionAuthor}\n * @version ${functionVersion}\n */\npublic interface ${ClassName}Service extends CrudService<${ClassName}Entity, ${ClassName}DTO> {\n\n}\n', NULL, '1', '2019-10-22 15:03:20', 'admin', '2019-11-13 17:11:53');
INSERT INTO `gen_table_template` VALUES (7, 'serviceImpl', '单体通用-业务逻辑实现', 'javafile/web/common/serviceImpl.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/service/impl', '${ClassName}ServiceImpl.java', '/**\n * Copyright &copy; 2013-2019 山东易科德软件有限公司\n * All rights reserved.\n */\npackage ${packageName}.modules.${moduleName}.service.impl;\nimport com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;\nimport ${packageName}.core.service.impl.CrudServiceImpl;\nimport ${packageName}.modules.${moduleName}.dao.${ClassName}Dao;\nimport ${packageName}.modules.${moduleName}.dto.${ClassName}DTO;\nimport ${packageName}.modules.${moduleName}.entity.${ClassName}Entity;\nimport ${packageName}.modules.${moduleName}.service.${ClassName}Service;\nimport org.apache.commons.lang3.StringUtils;\nimport org.springframework.stereotype.Service;\nimport java.util.Map;\n\n/**\n * ${functionName}ServiceImpl\n * @author ${functionAuthor}\n * @version ${functionVersion}\n */\n@Service\npublic class ${ClassName}ServiceImpl extends CrudServiceImpl<${ClassName}Dao, ${ClassName}Entity, ${ClassName}DTO> implements ${ClassName}Service {\n\n    @Override\n    public QueryWrapper<${ClassName}Entity> getWrapper(Map<String, Object> params){\n    QueryWrapper<${ClassName}Entity> wrapper = new QueryWrapper<>();\n    String id = (String)params.get(\"id\");\n    wrapper.eq(StringUtils.isNotBlank(id), \"id\", id);\n    <#list columnList as c >\n      <#if c.isQuery ==\'1\' && c.isPk == \'0\' >\n        Object ${(c.simpleJavaField)!}=params.get(\"${(c.simpleJavaField)!}\");\n        if(${(c.simpleJavaField)!}!=null){\n          wrapper.${(c.queryType)!}(StringUtils.isNotBlank(${(c.simpleJavaField)!}.toString()), \"${(c.columnName)!}\", ${(c.simpleJavaField)!}.toString());\n        }\n      </#if>\n    </#list>\n    return wrapper;\n    }\n}', NULL, '1', '2019-10-22 15:03:20', 'admin', '2019-11-13 17:12:02');
INSERT INTO `gen_table_template` VALUES (8, 'controller', '单体通用-接口访问', 'javafile/web/common/controller.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/controller', '${ClassName}Controller.java', '/**\n * Copyright &copy; 2013-2019 山东易科德软件有限公司\n * All rights reserved.\n */\npackage ${packageName}.modules.${moduleName}.controller;\nimport ${packageName}.core.annotation.LogOperation;\nimport ${packageName}.core.constant.Constant;\nimport ${packageName}.core.page.PageData;\nimport ${packageName}.core.utils.ExcelUtils;\nimport ${packageName}.core.utils.Result;\nimport ${packageName}.core.validator.AssertUtils;\nimport ${packageName}.core.validator.ValidatorUtils;\nimport ${packageName}.core.validator.group.AddGroup;\nimport ${packageName}.core.validator.group.DefaultGroup;\nimport ${packageName}.core.validator.group.UpdateGroup;\nimport ${packageName}.modules.${moduleName}.dto.${ClassName}DTO;\nimport ${packageName}.modules.${moduleName}.excel.${ClassName}Excel;\nimport ${packageName}.modules.${moduleName}.service.${ClassName}Service;\nimport io.swagger.annotations.Api;\nimport io.swagger.annotations.ApiImplicitParam;\nimport io.swagger.annotations.ApiImplicitParams;\nimport io.swagger.annotations.ApiOperation;\nimport org.apache.shiro.authz.annotation.RequiresPermissions;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.web.bind.annotation.*;\nimport springfox.documentation.annotations.ApiIgnore;\nimport javax.servlet.http.HttpServletResponse;\nimport java.util.List;\nimport java.util.Map;\n/**\n * ${table.tableNameAndComments}\n * ${functionName}Controller\n * @author ${functionAuthor}\n * @since  ${functionVersion}\n */\n@RestController\n@RequestMapping(\"${moduleName}/${className}\")\n@Api(tags=\"${table.comments}\")\npublic class ${ClassName}Controller {\n    @Autowired\n    private ${ClassName}Service ${className}Service;\n    @GetMapping(\"page\")\n    @ApiOperation(\"分页\")\n    @ApiImplicitParams({\n        @ApiImplicitParam(name = Constant.PAGE, value = \"当前页码，从1开始\", paramType = \"query\", required = true, dataType=\"int\") ,\n        @ApiImplicitParam(name = Constant.LIMIT, value = \"每页显示记录数\", paramType = \"query\",required = true, dataType=\"int\") ,\n        @ApiImplicitParam(name = Constant.ORDER_FIELD, value = \"排序字段\", paramType = \"query\", dataType=\"String\") ,\n        @ApiImplicitParam(name = Constant.ORDER, value = \"排序方式，可选值(asc、desc)\", paramType = \"query\", dataType=\"String\")\n    })\n    @RequiresPermissions(\"${moduleName}:${className}:page\")\n    public Result<PageData<${ClassName}DTO>> page(@ApiIgnore @RequestParam Map<String, Object> params){\n        PageData<${ClassName}DTO> page = ${className}Service.page(params);\n        return new Result<PageData<${ClassName}DTO>>().ok(page);\n    }\n    @GetMapping(\"{id}\")\n    @ApiOperation(\"信息\")\n    @RequiresPermissions(\"${moduleName}:${className}:info\")\n    public Result<${ClassName}DTO> get(@PathVariable(\"id\") Long id){\n        ${ClassName}DTO data = ${className}Service.get(id);\n        return new Result<${ClassName}DTO>().ok(data);\n    }\n    @GetMapping(\"list\")\n    @ApiOperation(\"列表\")\n    @RequiresPermissions(\"${moduleName}:${className}:info\")\n    public Result<List<${ClassName}DTO>> list(@ApiIgnore @RequestParam Map<String, Object> params) {\n        List<${ClassName}DTO> list = ${className}Service.list(params);\n        return new Result<List<${ClassName}DTO>>().ok(list);\n    }\n\n    @PostMapping\n    @ApiOperation(\"保存\")\n    @LogOperation(\"保存\")\n    @RequiresPermissions(\"${moduleName}:${className}:save\")\n    public Result save(@RequestBody ${ClassName}DTO dto){\n        //效验数据\n        ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);\n        ${className}Service.save(dto);\n        return new Result().ok(dto);\n    }\n    @PutMapping\n    @ApiOperation(\"修改\")\n    @LogOperation(\"修改\")\n    @RequiresPermissions(\"${moduleName}:${className}:update\")\n    public Result update(@RequestBody ${ClassName}DTO dto){\n        //效验数据\n        ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);\n        ${className}Service.update(dto);\n        return new Result().ok(dto);\n    }\n    @DeleteMapping\n    @ApiOperation(\"删除\")\n    @LogOperation(\"删除\")\n    @RequiresPermissions(\"${moduleName}:${className}:delete\")\n    public Result delete(@RequestBody Long[] ids){\n        //效验数据\n        AssertUtils.isArrayEmpty(ids, \"id\");\n        ${className}Service.delete(ids);\n        return new Result();\n    }\n\n    @GetMapping(\"export\")\n    @ApiOperation(\"导出\")\n    @LogOperation(\"导出\")\n    @RequiresPermissions(\"${moduleName}:${className}:export\")\n    public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {\n        List<${ClassName}DTO> list = ${className}Service.list(params);\n        ExcelUtils.exportExcelToTarget(response, null, list, ${ClassName}Excel.class);\n    }\n\n}', NULL, '1', '2019-10-22 15:03:20', 'admin', '2020-04-06 14:16:51');
INSERT INTO `gen_table_template` VALUES (9, 'add', '单表弹出框-新增修改', 'uifile/curd/ui-dialog/add-or-update.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${className}-add-or-update.vue', '<template>\n  <el-dialog width=\"60%\"  :visible.sync=\"visible\" :title=\"!dataForm.${pkField} ? $t(\'add\') : $t(\'update\')\" :close-on-click-modal=\"false\" :close-on-press-escape=\"false\">\n    <el-col :span=\"24\">\n    <#if table.languageFlag >\n     <code-snippet id=\"edit_form_i18n\" code=\"edit_form_i18n\" />\n    <#else>\n      <code-snippet id=\"edit_form\" code=\"edit_form\" />\n    </#if>\n    </el-col>\n    <template slot=\"footer\">\n      <el-button @click=\"visible = false\">{{ $t(\'cancel\') }}</el-button>\n      <el-button type=\"primary\" :loading=\"loading\" @click=\"dataFormSubmitHandle()\">{{ $t(\'confirm\') }}</el-button>\n    </template>\n  </el-dialog>\n</template>\n<script>\nimport debounce from \'lodash/debounce\'\n<code-snippet id=\"edit_form_imp\" code=\"edit_form_imp\" />\nexport default {\n  data () {\n    return {\n      loading: false,\n      visible: false,\n      dataForm: {\n        <#list columnList as c>\n          <#if c.javaField != \'status\' && c.javaField != \'creator\' && c.javaField != \'createDate\' && c.javaField != \'updater\' && c.javaField != \'updateDate\'  && c.javaField != \'tenantId\' >\n           ${c.javaField}:\'\'<#if c_has_next>,</#if>\n          </#if>\n        </#list>\n      }\n    }\n  },\n  <code-snippet id=\"edit_form_computed\" code=\"edit_form_computed\" />\n  methods: {\n    init () {\n      this.visible = true\n      this.$nextTick(() => {\n        this.$refs[\'dataForm\'].resetFields()\n        if (this.dataForm.${pkField}) {\n          this.loading = true\n          this.getInfo()\n        }\n      })\n    },\n    <code-snippet id=\"edit_form_getinfo\" code=\"edit_form_getinfo\" />\n    // 表单提交\n    dataFormSubmitHandle: debounce(function () {\n      this.$refs[\'dataForm\'].validate((valid) => {\n        if (!valid) {\n          return false\n        }\n        this.loading = true\n        this.$http[!this.dataForm.${pkField} ? \'post\' : \'put\'](\'/${moduleName}/${className}/\', this.dataForm).then(({ data: res }) => {\n          this.loading = false\n          if (res.code !== 0) {\n            return false\n          }\n          this.$message({\n            message: this.$t(\'prompt.success\'),\n            type: \'success\',\n            duration: 500,\n            onClose: () => {\n              this.visible = false\n              this.$emit(\'refreshDataList\')\n            }\n          })\n        }).catch(() => {})\n      })\n    }, 1000, { \'leading\': true, \'trailing\': false })\n  }\n}\n</script>\n', NULL, '1', '2019-10-22 15:03:20', 'admin', '2020-04-07 16:28:25');
INSERT INTO `gen_table_template` VALUES (10, 'index', '单表弹出框-列表', 'uifile/curd/ui-dialog/index.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${className}.vue', '<template>\n <el-card shadow=\"never\" >\n   <#if table.languageFlag >\n    <code-snippet id=\"ui_query_form_i18n\" code=\"ui_query_form_i18n\" />\n    <code-snippet id=\"tablelist_i18n\" code=\"tablelist_i18n\" />\n   <#else>\n    <code-snippet id=\"ui_query_form\" code=\"ui_query_form\" />\n    <code-snippet id=\"tablelist\" code=\"tablelist\" />\n   </#if>\n    <add-or-update v-if=\"addOrUpdateVisible\" ref=\"addOrUpdate\" @refreshDataList=\"getDataList\"></add-or-update>  \n </el-card>\n</template>\n<script>\nimport mixinViewModule from \'@/mixins/view-module\'\nimport AddOrUpdate from \'./${className}-add-or-update\'\nexport default {\n  mixins: [mixinViewModule],\n  data () {\n	return {\n	  searchShow : true,\n	  mixinViewModuleOptions: {\n		getDataListURL: \'/${moduleName}/${className}/page\',\n		getDataListIsPage: true,\n		deleteURL: \'/${moduleName}/${className}\',\n		deleteIsBatch: true,\n		exportURL: \'/${moduleName}/${className}/export\'\n	  },\n       headLock:${table.headLock?string},\n    <#if totalFlag>\n      sumFields: \'${sumFields}\',\n    </#if>\n	  dataForm: {\n		<#list queryColList as c>\n			 ${c.javaField}:\'\'<#if c_has_next>,</#if>\n		</#list>\n	  }\n	}\n  },\n  components: {\n	AddOrUpdate\n  },\n  methods: {\n  <#if totalFlag>\n    footerMethod ({ columns, data }) {\n      const sums = []\n      columns.forEach((column, columnIndex) => {\n        if (columnIndex === 0) {\n          sums.push(\'合计\')\n        } else {\n          let sumCell = null\n          switch (column.property) {\n           <#list listColList as c>\n               <#if c.totalType??&&c.totalType != \'default\'>\n                  case \'${c.javaField}\':\n                   sumCell = this.sumData.${c.javaField}\n                   break\n               </#if>\n           </#list>\n          }\n          sums.push(sumCell)\n        }\n      })\n      // 返回一个二维数组的表尾合计\n      return [sums]\n    },\n    </#if>\n    // 新增 / 修改\n    addOrUpdateHandle (row) {\n      let id \n      if(row){\n        id = row.id\n      }\n      this.addOrUpdateVisible = true\n      this.$nextTick(() => {\n        this.$refs.addOrUpdate.dataForm.id = id\n        this.$refs.addOrUpdate.init()\n      })\n    }\n  }\n}\n</script>\n', NULL, '1', '2019-10-22 15:03:20', 'admin', '2020-04-08 15:11:15');
INSERT INTO `gen_table_template` VALUES (11, 'i18n-txt', '国际化资源文件', 'i18n/en-US.xml', 'i18n', 'src/views/modules/${moduleName}/', '${className}-i18n.txt', 't.${className} = {}\n<#list columnList as c>\n    <#if c.isPk ==\'0\' && !fieldMap[c.javaField]?? >\nt.${className}.${c.javaField} = \'${c.comments}\'\n    </#if>\n</#list>', NULL, '1', '2019-10-22 15:03:20', 'admin', '2020-04-07 17:21:04');
INSERT INTO `gen_table_template` VALUES (1186937928857743362, 'tab-index', '单表标签页-列表页', 'uifile/curd/ui-tabs/index.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${className}.vue', '<template>\n  <el-card shadow=\"never\" >\n   <#if table.languageFlag >\n    <code-snippet id=\"ui_query_form_i18n\" code=\"ui_query_form_i18n\" />\n    <code-snippet id=\"tablelist_i18n\" code=\"tablelist_i18n\" />\n   <#else>\n    <code-snippet id=\"ui_query_form\" code=\"ui_query_form\" />\n    <code-snippet id=\"tablelist\" code=\"tablelist\" />\n   </#if>\n   </el-card>\n</template>\n<script>\nimport mixinViewModule from \'@/mixins/view-module\'\nexport default {\n  mixins: [mixinViewModule],\n  data () {\n	return {\n	  searchShow : true,\n	  mixinViewModuleOptions: {\n		getDataListURL: \'/${moduleName}/${className}/page\',\n		getDataListIsPage: true,\n		deleteURL: \'/${moduleName}/${className}\',\n		deleteIsBatch: true,\n		exportURL: \'/${moduleName}/${className}/export\'\n	  },\n          headLock:${table.headLock?string},\n          <#if totalFlag>\n                sumFields: \'${sumFields}\',\n          </#if>\n	  dataForm: {\n		<#list queryColList as c>\n			 ${c.javaField}:\'\'<#if c_has_next>,</#if>\n		</#list>\n	  }\n	}\n  },\n  methods: {\n    <#if totalFlag>\n    footerMethod ({ columns, data }) {\n      const sums = []\n      columns.forEach((column, columnIndex) => {\n        if (columnIndex === 0) {\n          sums.push(\'合计\')\n        } else {\n          let sumCell = null\n          switch (column.property) {\n           <#list listColList as c>\n               <#if c.totalType??&&c.totalType != \'default\'>\n                  case \'${c.javaField}\':\n                   sumCell = this.sumData.${c.javaField}\n                   break\n               </#if>\n           </#list>\n          }\n          sums.push(sumCell)\n        }\n      })\n      // 返回一个二维数组的表尾合计\n      return [sums]\n    },\n    </#if>\n    // 新增 / 修改\n    addOrUpdateHandle (row) {\n      let title = \'新增\'\n      let id\n      if (row) {\n        title = row.title\n        id = row.id\n      }\n      // 打开路由\n      var router = {\n        name: \'${moduleName}-${className}-editTab\',\n        id: id,\n        menuId: this.$route.meta.menuId,\n        oldName: \'${moduleName}-${className}\',\n        path: \'${moduleName}/${className}-editTab\',\n        title: \'编辑${functionName}----\'+title\n      }\n      var params = {\n        id: id,\n        timestamp: this.$xeutils.timestamp()\n      }\n      this.$options.methods.openNewTab(this.$router, router, params)\n    }\n  }\n}\n</script>\n', '', 'admin', '2019-10-23 17:30:29', 'admin', '2020-04-08 15:11:44');
INSERT INTO `gen_table_template` VALUES (1186938061737488385, 'tabs-edit', '单表标签页-编辑页', 'uifile/curd/ui-tabs/editTab.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${className}-editTab.vue', '<template>\n  <el-card v-loading=\"loading\">\n    <div slot=\"header\" class=\"clearfix\">\n      <el-button @click=\"closeTab()\">{{ $t(\'cancel\') }}</el-button>\n      <el-button type=\"primary\" @click=\"dataFormSubmitHandle()\">{{ $t(\'confirm\') }}</el-button>\n    </div>\n    <el-col :span=\"24\">\n    <#if table.languageFlag >\n     <code-snippet id=\"edit_form_i18n\" code=\"edit_form_i18n\" />\n    <#else>\n      <code-snippet id=\"edit_form\" code=\"edit_form\" />\n    </#if>\n    </el-col>\n  </el-card>\n</template>\n\n<script>\nimport debounce from \'lodash/debounce\'\nimport mainContent from \'@/views/main-content\'\n<code-snippet id=\"edit_form_imp\" code=\"edit_form_imp\" />\nvar content = mainContent\n\nexport default {\n  data () {\n    return {\n      timestamp: this.$route.params.timestamp,\n      loading : false,\n      dataForm: {\n        <#list columnList as c>\n        	<#if c.javaField ==\'id\' >\n        	 id: this.$route.params.id,\n        	<#elseif c.javaField != \'status\' && c.javaField != \'creator\' && c.javaField != \'createDate\' && c.javaField != \'updater\' && c.javaField != \'updateDate\'  && c.javaField != \'tenantId\' >\n        	 ${c.javaField}:\'\'<#if c_has_next>,</#if>\n        	</#if>\n        </#list>\n      }\n    }\n  },\n  <code-snippet id=\"edit_form_computed\" code=\"edit_form_computed\" />\n  created () {\n    // 通过路由参数pid, 控制列表请求操作\n this.$nextTick(() => {\n    this.$refs[\'dataForm\'].resetFields()\n    if (this.$route.params.${pkField}) {\n      this.dataForm.${pkField} = this.$route.params.${pkField}\n      this.loading = true\n      this.getInfo()\n    }\n })\n  },\n  methods: {\n    // 获取信息\n    <code-snippet id=\"edit_form_getinfo\" code=\"edit_form_getinfo\" />\n    // 关闭 tab\n    closeTab () {\n      content.methods.tabRemoveHandle(this.$route.name)\n    },\n    // 表单提交\n    dataFormSubmitHandle: debounce(function () {\n      this.$refs[\'dataForm\'].validate((valid) => {\n        if (!valid) {\n          return false\n        }\n        this.$http[!this.dataForm.${pkField} ? \'post\' : \'put\'](\'/${moduleName}/${className}/\', this.dataForm).then(({ data: res }) => {\n          if (res.code !== 0) {\n            return false\n          }\n          this.$message({\n            message: this.$t(\'prompt.success\'),\n            type: \'success\',\n            duration: 500,\n            onClose: () => {\n              this.closeTab()\n              this.$emit(\'refreshDataList\')\n            }\n          })\n        }).catch(() => {})\n      })\n    }, 1000, { \'leading\': true, \'trailing\': false })\n  }\n}\n</script>\n', '', 'admin', '2019-10-23 17:31:01', 'admin', '2020-04-08 15:08:45');
INSERT INTO `gen_table_template` VALUES (1186946109465980929, 'tree-serviceImpl', '树表-业务逻辑实现', 'javafile/web/tree/serviceImpl.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/service/impl', '${ClassName}ServiceImpl.java', '/**\n * Copyright &copy; 2013-2019 山东易科德软件有限公司\n * All rights reserved.\n */\npackage ${packageName}.modules.${moduleName}.service.impl;\nimport com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;\nimport ${packageName}.core.service.impl.CrudServiceImpl;\nimport ${packageName}.modules.${moduleName}.dao.${ClassName}Dao;\nimport ${packageName}.modules.${moduleName}.dto.${ClassName}DTO;\nimport ${packageName}.modules.${moduleName}.entity.${ClassName}Entity;\nimport ${packageName}.modules.${moduleName}.service.${ClassName}Service;\nimport org.apache.commons.lang3.StringUtils;\nimport org.springframework.stereotype.Service;\nimport java.util.Map;\nimport java.util.List;\n/**\n * ${functionName}ServiceImpl\n * @author ${functionAuthor}\n * @version ${functionVersion}\n */\n@Service\npublic class ${ClassName}ServiceImpl extends CrudServiceImpl<${ClassName}Dao, ${ClassName}Entity, ${ClassName}DTO> implements ${ClassName}Service {\n    static Long treeRootCode = 0l;\n\n    @Override\n    public QueryWrapper<${ClassName}Entity> getWrapper(Map<String, Object> params){\n        QueryWrapper<${ClassName}Entity> wrapper = new QueryWrapper<>();\n        String id = (String)params.get(\"id\");\n        wrapper.eq(StringUtils.isNotBlank(id), \"id\", id);\n        <#list columnList as c>\n        	<#if c.isQuery ==\'1\' && c.isPk == \'0\' >\n			Object ${c.simpleJavaField}=params.get(\"${c.simpleJavaField}\");\n			if(${c.simpleJavaField}!=null){\n				wrapper.${c.queryType}(StringUtils.isNotBlank(${c.simpleJavaField}.toString()), \"${c.columnName}\", ${c.simpleJavaField}.toString());\n			}\n        	</#if>\n        </#list>\n        Object id_ne = params.get(\"id_ne\");\n        if (id_ne != null) {\n            wrapper.ne(StringUtils.isNotBlank(id_ne.toString()), \"id\", id_ne.toString());\n        }\n        Object pid_ne = params.get(\"pid_ne\");\n        if (pid_ne != null) {\n            wrapper.notLike(StringUtils.isNotBlank(pid_ne.toString()), \"pids\", pid_ne.toString());\n        }\n        wrapper.orderBy(true, true, \"sort\");\n\n        return wrapper;\n    }\n\n        /**\n     * @Description:重写保存方法\n     * @Param: [dto]\n     * @return: void\n     * @Author: ${functionAuthor}\n     * @Date:\n     */\n    @Override\n    public void save(${ClassName}DTO dto) {\n        if (dto.getPid() == null) {\n            dto.setPid(treeRootCode);\n            dto.setPids(treeRootCode.toString());\n            dto.setTreeLevel(treeRootCode.intValue() + 1);\n        } else {\n            //获取父级节点\n            ${ClassName}DTO parent = get(dto.getPid());\n            //设置树级别\n            dto.setTreeLevel(parent.getTreeLevel() + 1);\n            dto.setPids(parent.getPids() + \",\" + parent.getId().toString());\n        }\n        super.save(dto);\n    }\n\n    /**\n     * @Description:重写保存方法\n     * @Param: [dto]\n     * @return: void\n     * @Author: ${functionAuthor}\n     * @Date:\n     */\n    @Override\n    public void update(${ClassName}DTO dto) {\n        if (dto.getPid() == null) {\n            dto.setPid(treeRootCode);\n            dto.setPids(treeRootCode.toString());\n            dto.setTreeLevel(treeRootCode.intValue() + 1);\n        } else {\n            if (!dto.getPid().equals(treeRootCode)) {\n                //获取修改后的父级节点\n                ${ClassName}DTO parent = get(dto.getPid());\n                //设置树级别\n                dto.setTreeLevel(parent.getTreeLevel() + 1);\n                dto.setPids(parent.getPids() + \",\" + parent.getId().toString());\n            } else {\n                dto.setTreeLevel(treeRootCode.intValue() + 1);\n                dto.setPid(treeRootCode);\n                dto.setPids(treeRootCode.toString());\n            }\n        }\n        super.update(dto);\n    }\n\n    /**\n     * @Description:重写删除方法\n     * @Param: [ids]\n     * @return: void\n     * @Author: ${functionAuthor}\n     * @Date:\n     */\n    @Override\n    public void delete(Long[] ids) {\n        //重写树表删除 获取第一个id 然后删除本级以及子级\n        if (ids.length > 0) {\n            Long id = ids[0];\n            if(getListPid(id).size()>0){\n               throw  new NewSailException(\"请先删除子级内容\");\n            }\n            QueryWrapper<${ClassName}Entity> wrapper = new QueryWrapper<>();\n            wrapper.eq(\"id\", id);\n            this.baseDao.delete(wrapper);\n        }\n    }\n\n    /**\n     * @Description:获取是否包含子级\n     * @Param: [ids]\n     * @return: void\n     * @Author: ${functionAuthor}\n     * @Date:\n     */\n    private List<${ClassName}Entity> getListPid(Long pid) {\n        QueryWrapper<${ClassName}Entity> wrapper = new QueryWrapper<>();\n         wrapper.eq(\"pid\", pid);\n         return this.baseDao.selectList(wrapper);\n    }\n\n\n}\n', '', 'admin', '2019-10-23 18:03:00', 'admin', '2020-03-18 16:12:34');
INSERT INTO `gen_table_template` VALUES (1186946251833241602, 'tree-index', '树表-列表页', 'uifile/tree/ui/index.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${className}.vue', '<template>\n    <el-card shadow=\"never\">\n    <#if table.languageFlag>\n    <code-snippet id=\"ui_tree_query_form_i18n\" code=\"ui_tree_query_form_i18n\" />\n    <code-snippet id=\"tree_tablelist_i18n\" code=\"tree_tablelist_i18n\" />\n    <#else>\n    <code-snippet id=\"ui_tree_query_form\" code=\"ui_tree_query_form\" />\n    <code-snippet id=\"tree_tablelist\" code=\"tree_tablelist\" />\n    </#if>\n     <!-- 弹窗, 新增 / 修改 -->\n     <add-or-update v-if=\"addOrUpdateVisible\" ref=\"addOrUpdate\" @refreshDataList=\"getTreeDataList\"></add-or-update>	\n   </el-card>\n</template>\n<script>\nimport mixinViewModule from \'@/mixins/view-module\'\nimport AddOrUpdate from \'./${className}-add-or-update\'\nimport { treeDataTranslate } from \'@/utils/index\'\nexport default {\n  mixins: [mixinViewModule],\n  data () {\n	return {\n	  searchShow: true,\n	  mixinViewModuleOptions: {\n		getDataListURL: \'/${moduleName}/${className}/list\',\n		getDataListIsPage: false,\n		deleteURL: \'/${moduleName}/${className}\',\n		deleteIsBatch: true,\n		exportURL: \'/${moduleName}/${className}/export\',\n                getTreeDataListURL: \'/${moduleName}/${className}/list\',\n                treeType: true\n	  },\n	  dataForm: {\n		<#list queryColList as c>\n			 ${c.javaField}:\'\'<#if c_has_next>,</#if>\n		</#list>\n	  }\n	}\n  },\n  components: {\n	AddOrUpdate\n  },\n  methods: {\n    // 新增 / 修改\n    addOrUpdateHandle (row) {\n      let id\n      if(row){\n         id=row.id\n      }\n      this.addOrUpdateVisible = true\n      this.getTreeCompList(id).then(res => {\n        this.$refs.addOrUpdate.parentTreeData = res\n        this.$nextTick(() => {\n          this.$refs.addOrUpdate.dataForm.id = id\n          this.$refs.addOrUpdate.dataForm.pid = \'\'\n          this.$refs.addOrUpdate.init()\n        })\n      })\n    },\n    addChild (row) {\n      this.addOrUpdateVisible = true\n       this.getTreeCompList().then(res => {\n          this.$refs.addOrUpdate.parentTreeData = res\n          this.$nextTick(() => {\n            this.$refs.addOrUpdate.dataForm.pid = row.id\n            this.$refs.addOrUpdate.init()\n          })\n        })\n    },\n    // 父级树组件\n    getTreeCompList (id) {\n      return new Promise(resolve => {\n        this.$http.get(\n          this.mixinViewModuleOptions.getTreeDataListURL,\n          {\n            params: {\n              id_ne: id,\n              pid_ne: id\n            }\n          }\n        ).then(({ data: res }) => {\n          if (res.code !== 0) {\n            return false\n          }\n          resolve(treeDataTranslate(res.data, \'id\', \'pid\'))\n        }).catch(err => {\n          return this.$message.error(err)\n        })\n      })\n    }\n  }\n}\n</script>\n', '', 'admin', '2019-10-23 18:03:33', 'admin', '2020-04-08 09:27:38');
INSERT INTO `gen_table_template` VALUES (1186946543756800001, 'tree-add', '树表-数据维护', 'uifile/tree/ui/add-or-update.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${className}-add-or-update.vue', '<template>\n  <el-dialog  :visible.sync=\"visible\"  width=\"60%\"  :title=\"!dataForm.${pkField} ? $t(\'add\') : $t(\'update\')\" :close-on-click-modal=\"false\" :close-on-press-escape=\"false\">\n    <el-col :span=\"24\">\n     <#if table.languageFlag>\n      <code-snippet id=\"edit_form_i18n\" code=\"edit_form_i18n\" />\n     <#else>\n      <code-snippet id=\"edit_form\" code=\"edit_form\" />\n     </#if>\n    </el-col>\n    <template slot=\"footer\">\n      <el-button @click=\"visible = false\">{{ $t(\'cancel\') }}</el-button>\n      <el-button type=\"primary\" :loading=\"loading\" @click=\"dataFormSubmitHandle()\">{{ $t(\'confirm\') }}</el-button>\n    </template>\n  </el-dialog>\n</template>\n\n<script>\nimport debounce from \'lodash/debounce\'\nimport ElTreeSelect from \'@/components/uni-tree-select\'\n<code-snippet id=\"edit_form_imp\" code=\"edit_form_imp\" />\nexport default {\n  data () {\n    return {\n      loading: false,\n      visible: false,\n      parentTreeData: [],\n      dataForm: {\n        <#list columnList as c>\n        <#if c.javaField != \'status\' && c.javaField != \'pids\' && c.javaField != \'creator\' && c.javaField != \'createDate\' && c.javaField != \'updater\' && c.javaField != \'updateDate\'  && c.javaField != \'tenantId\' >\n           ${c.javaField}:\'\'<#if c_has_next>,</#if>\n          </#if>\n        </#list>\n      }\n    }\n  },\n  <code-snippet id=\"edit_form_computed\" code=\"edit_form_computed\" />\n  components: { ElTreeSelect },\n  methods: {\n    init () {\n      this.visible = true\n      this.$nextTick(() => {\n        if (this.dataForm.${pkField}) {\n          this.loading = true\n          this.getInfo()\n        } else {\n          this.$refs[\'dataForm\'].resetFields()\n        }\n      })\n    },\n    // 获取信息\n   <code-snippet id=\"edit_form_getinfo\" code=\"edit_form_getinfo\" />\n    // 表单提交\n    dataFormSubmitHandle: debounce(function () {\n      this.$refs[\'dataForm\'].validate((valid) => {\n        if (!valid) {\n          return false\n        }\n        this.loading = true\n        this.$http[!this.dataForm.${pkField} ? \'post\' : \'put\'](\'/${moduleName}/${className}/\', this.dataForm).then(({ data: res }) => {\n         this.loading = false\n          if (res.code !== 0) {\n            return this.$message.error(res.msg)\n          }\n          this.$message({\n            message: this.$t(\'prompt.success\'),\n            type: \'success\',\n            duration: 500,\n            onClose: () => {\n              this.visible = false\n              this.$emit(\'refreshDataList\')\n            }\n          })\n        }).catch(() => {})\n      })\n    }, 1000, { \'leading\': true, \'trailing\': false })\n  }\n}\n</script>\n', '', 'admin', '2019-10-23 18:04:43', 'admin', '2020-04-08 10:51:07');
INSERT INTO `gen_table_template` VALUES (1187178320828059649, 'bpm-dto', '单体bpm-页面实体类', 'javafile/web/bpm/dto.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/dto', '${ClassName}DTO.java', '/**\n * Copyright &copy; 2013-2019 山东易科德软件有限公司\n * All rights reserved.\n */\npackage ${packageName}.modules.${moduleName}.dto;\nimport io.swagger.annotations.ApiModel;\nimport io.swagger.annotations.ApiModelProperty;\nimport lombok.Data;\nimport com.uniedp.modules.flowable.base.BaseBpmDTO;\nimport java.io.Serializable;\n\n<#list importList as i>\nimport ${i};\n</#list>\n/**\n * ${table.tableNameAndComments}\n * ${functionName}DTO\n * @author ${functionAuthor}\n * @since  ${functionVersion}\n */\n@Data\n@ApiModel(value = \"${table.comments}\")\npublic class ${ClassName}DTO  extends BaseBpmDTO implements Serializable {\n    private static final long serialVersionUID = ${uuid}L;\n    <#-- 生成非主键字段属性 -->\n<#list columnList as c>\n    /**\n    * <#if c.comments??>${c.comments}</#if>\n    */\n    <#if c.columnName!= \'id\'>\n    @ApiModelProperty(value = \"${c.comments}\")\n    private ${c.simpleJavaType} ${c.simpleJavaField};\n    </#if>\n</#list>\n}', '', 'admin', '2019-10-24 09:25:43', 'admin', '2019-11-19 14:20:57');
INSERT INTO `gen_table_template` VALUES (1187178545349152770, 'bpm-service', '单体bpm-业务逻辑接口', 'javafile/web/bpm/service.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/service', '${ClassName}Service.java', '/**\n * Copyright &copy; 2013-2019 山东易科德软件有限公司\n * All rights reserved.\n */\npackage ${packageName}.modules.${moduleName}.service;\nimport java.util.List;\nimport ${packageName}.modules.flowable.base.BaseBpmService;\nimport ${packageName}.modules.${moduleName}.dto.${ClassName}DTO;\nimport ${packageName}.modules.${moduleName}.entity.${ClassName}Entity;\n/**\n * ${functionName}Service\n * @author ${functionAuthor}\n * @version ${functionVersion}\n */\npublic interface ${ClassName}Service extends BaseBpmService<${ClassName}Entity, ${ClassName}DTO> {\n\n}', '', 'admin', '2019-10-24 09:26:37', 'admin', '2019-11-19 14:21:48');
INSERT INTO `gen_table_template` VALUES (1187178677712998402, 'bpm-serviceImpl', '单体bpm-业务逻辑实现', 'javafile/web/bpm/serviceImpl.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/service/impl', '${ClassName}ServiceImpl.java', '/**\n * Copyright &copy; 2013-2019 山东易科德软件有限公司\n * All rights reserved.\n */\npackage ${packageName}.modules.${moduleName}.service.impl;\nimport com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;\nimport ${packageName}.modules.flowable.base.impl.BaseBpmServiceImpl;\nimport ${packageName}.modules.${moduleName}.dao.${ClassName}Dao;\nimport ${packageName}.modules.${moduleName}.dto.${ClassName}DTO;\nimport ${packageName}.modules.${moduleName}.entity.${ClassName}Entity;\nimport ${packageName}.modules.${moduleName}.service.${ClassName}Service;\nimport org.apache.commons.lang3.StringUtils;\nimport org.springframework.stereotype.Service;\nimport java.util.Map;\n/**\n * ${functionName}ServiceImpl\n * @author ${functionAuthor}\n * @version ${functionVersion}\n */\n@Service\npublic class ${ClassName}ServiceImpl extends BaseBpmServiceImpl<${ClassName}Dao, ${ClassName}Entity, ${ClassName}DTO> implements ${ClassName}Service {\n\n    @Override\n    public QueryWrapper<${ClassName}Entity> getWrapper(Map<String, Object> params){\n        QueryWrapper<${ClassName}Entity> wrapper = new QueryWrapper<>();\n        String id = (String)params.get(\"id\");\n        wrapper.eq(StringUtils.isNotBlank(id), \"id\", id);\n        <#list columnList as c>\n        	<#if c.isQuery ==\'1\' && c.isPk == \'0\' >\n			Object ${c.javaField}=params.get(\"${c.javaField}\");\n			if(${c.javaField}!=null){\n				wrapper.${c.queryType}(StringUtils.isNotBlank(${c.javaField}.toString()), \"${c.columnName}\", ${c.javaField}.toString());\n			}\n        	</#if>\n        </#list>\n        return wrapper;\n    }\n}', '', 'admin', '2019-10-24 09:27:08', 'admin', '2019-11-13 16:11:50');
INSERT INTO `gen_table_template` VALUES (1187179262231203842, 'bpm-form', '单体bpm-表单', 'uifile/flowable/ui/form.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${className}-flowable-form.vue', '<template>\n  <el-card v-loading=\"loading\">\n     <div slot=\"header\" class=\"clearfix\">\n         <el-button v-if=\"edit\" @click=\"closeTab()\">{{ $t(\'cancel\') }}</el-button>\n         <el-button v-if=\"edit\" type=\"primary\" @click=\"dataFormSubmitHandle()\">{{ $t(\'save\') }}</el-button>\n         <el-button v-if=\"edit\" type=\"primary\" @click=\"dataFormApplyHandle()\">{{ $t(\'submit\') }}</el-button>\n    </div>\n    <el-col :span=\"24\">\n       <#if table.languageFlag>\n        <code-snippet id=\"edit_form_i18n\" code=\"edit_form_i18n\" />\n       <#else>\n        <code-snippet id=\"edit_form\" code=\"edit_form\" />\n       </#if>\n    </el-col>\n    <approver ref=\"approver\" @approverHandle=\"approverHandle\"></approver>\n  </el-card>\n</template>\n\n<script>\nimport debounce from \'lodash/debounce\'\nimport approver from \'@/views/modules/flowable/bpmForm-approver\'\n<code-snippet id=\"edit_form_imp\" code=\"edit_form_imp\" />\nimport mainContent from \'@/views/main-content\'\nvar content = mainContent\nexport default {\n  data () {\n    return {\n      // 允许编辑\n      edit: false,\n      // 后台api\n      url: \'/${moduleName}/${className}\',\n      // 定义表ID\n      formId: \'\',\n      timestamp: this.$route.params.timestamp,\n      loading: false,\n      dataForm: {\n        <#list columnList as c>\n            <#if c.javaField ==\'id\' >\n             id: \'\',\n            <#else>\n             ${c.javaField}:\'\'<#if c_has_next>,</#if>\n            </#if>\n        </#list>\n      }\n    }\n  },\n  components: {\n    approver\n  },\n   <code-snippet id=\"edit_form_computed\" code=\"edit_form_computed\" />\n  created () {\n     // 通过路由参数pid, 控制列表请求操作\n    this.$nextTick(() => {\n      this.$refs[\'dataForm\'].resetFields()\n      this.edit = this.$route.params.edit\n      this.formId = this.$route.params.formId\n      if (this.$route.params.bizId) {\n        // 设置ID\n        this.dataForm.id = this.$route.params.bizId\n        // 获取表单数据\n        this.getInfo()\n      }\n      this.dataForm.formId = this.formId\n    })\n  },\n  methods: {\n   // 获取信息\n    getInfo () {\n      this.loading = true\n      this.$http.get(`${r\"${\"}this.url${r\"}\"}/${r\"${\"}this.dataForm.id${r\"}\"}`).then(({ data: res }) => {\n        this.loading = false\n        if (res.code !== 0) {\n          return\n        }\n        this.dataForm = {\n          ...this.dataForm,\n          ...res.data\n        }\n        this.dataForm.formId = this.formId\n      })\n     },\n    // 提交申请\n    dataFormApplyHandle () {\n      this.dataForm.assignees = null\n      this.$refs[\'dataForm\'].validate((valid) => {\n        if (!valid) {\n          return false\n        }\n        this.loading = true\n        // 保存表单数据\n        this.$http[!this.dataForm.id ? \'post\' : \'put\'](this.url, this.dataForm).then(({ data: res }) => {\n          if (res.code !== 0) {\n            // 保存失败\n            this.loading = false\n            return\n          }\n          if (!this.dataForm.id) {\n            this.dataForm.id = res.data.id\n          }\n          // 验证审批人\n          this.$http[\'post\'](\'/${moduleName}/${className}/startNextTaskInfo\', this.dataForm).then(({ data: res }) => {\n            if (res.code !== 0) {\n              this.loading = false\n              return this.$message.error(res.msg)\n            }\n            this.dataForm.assignees = res.data\n            this.$refs.approver.dataForm.assignees = this.dataForm.assignees\n            this.$refs.approver.init()\n          })\n         })\n        this.loading = false\n      })\n    },\n    // 表单提交\n    dataFormSubmitHandle: debounce(function () {\n      this.$refs[\'dataForm\'].validate((valid) => {\n        if (!valid) {\n          return false\n        }\n        this.$http[!this.dataForm.${pkField} ? \'post\' : \'put\'](\'/${moduleName}/${className}/\', this.dataForm).then(({ data: res }) => {\n          if (res.code !== 0) {\n            return this.$message.error(res.msg)\n          }\n          this.$message({\n            message: this.$t(\'prompt.success\'),\n            type: \'success\',\n            duration: 500,\n            onClose: () => {\n              this.closeTab()\n              this.$emit(\'refreshDataList\')\n            }\n          })\n        }).catch(() => {})\n      })\n    }, 1000, { \'leading\': true, \'trailing\': false }),\n    // 审批人选择回调(提交申请)\n    approverHandle () {\n      this.loading = true\n      this.$http[\'post\'](`${r\"${\"}this.url${r\"}\"}/submit`, this.dataForm).then(({ data: res }) => {\n        this.loading = false\n        if (res.code !== 0) {\n          return\n        }\n        this.$message({\n          message: this.$t(\'prompt.success\'),\n          type: \'success\',\n          duration: 500,\n          onClose: () => {\n            this.closeTab()\n            this.$emit(\'refreshDataList\')\n          }\n        })\n      }).catch(() => { })\n    },\n    // 关闭 tab\n    closeTab () {\n      content.methods.tabRemoveHandle(this.$route.name)\n    }\n  }\n}\n</script>', '', 'admin', '2019-10-24 09:29:27', 'admin', '2020-04-08 15:08:01');
INSERT INTO `gen_table_template` VALUES (1187194157332971522, 'bpm-controller', '单体bpm-接口访问', 'javafile/web/bpm/controller.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/controller', '${ClassName}Controller.java', '/**\n * Copyright &copy; 2013-2019 山东易科德软件有限公司\n * All rights reserved.\n */\npackage ${packageName}.modules.${moduleName}.controller;\nimport ${packageName}.core.annotation.LogOperation;\nimport ${packageName}.core.constant.Constant;\nimport ${packageName}.core.page.PageData;\nimport ${packageName}.core.utils.ExcelUtils;\nimport ${packageName}.core.utils.Result;\nimport ${packageName}.core.validator.AssertUtils;\nimport ${packageName}.core.validator.ValidatorUtils;\nimport ${packageName}.core.validator.group.AddGroup;\nimport ${packageName}.core.validator.group.DefaultGroup;\nimport ${packageName}.core.validator.group.UpdateGroup;\nimport ${packageName}.modules.${moduleName}.dto.${ClassName}DTO;\nimport ${packageName}.modules.${moduleName}.service.${ClassName}Service;\nimport io.swagger.annotations.Api;\nimport io.swagger.annotations.ApiImplicitParam;\nimport io.swagger.annotations.ApiImplicitParams;\nimport io.swagger.annotations.ApiOperation;\nimport org.apache.shiro.authz.annotation.RequiresPermissions;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.web.bind.annotation.*;\nimport springfox.documentation.annotations.ApiIgnore;\nimport javax.servlet.http.HttpServletResponse;\nimport java.util.List;\nimport java.util.Map;\n/**\n * ${table.tableNameAndComments}\n * ${functionName}Controller\n * @author ${functionAuthor}\n * @since  ${functionVersion}\n */\n@RestController\n@RequestMapping(\"${moduleName}/${className}\")\n@Api(tags=\"${table.comments}\")\npublic class ${ClassName}Controller {\n    @Autowired\n    private ${ClassName}Service ${className}Service;\n\n    @GetMapping(\"{id}\")\n    @ApiOperation(\"信息\")\n    @RequiresPermissions(\"${moduleName}:${className}:form\")\n    public Result<${ClassName}DTO> get(@PathVariable(\"id\") Long id){\n        ${ClassName}DTO data = ${className}Service.get(id);\n        return new Result<${ClassName}DTO>().ok(data);\n    }\n\n    @PostMapping\n    @ApiOperation(\"保存\")\n    @LogOperation(\"保存\")\n    @RequiresPermissions(\"${moduleName}:${className}:form\")\n    public Result save(@RequestBody ${ClassName}DTO dto){\n        //效验数据\n        ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);\n        ${className}Service.saveBiz(dto);\n        return new Result().ok(dto);\n    }\n\n    @PutMapping\n    @ApiOperation(\"修改\")\n    @LogOperation(\"修改\")\n    @RequiresPermissions(\"${moduleName}:${className}:form\")\n    public Result update(@RequestBody ${ClassName}DTO dto){\n        //效验数据\n        ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);\n        ${className}Service.update(dto);\n        return new Result().ok(dto);\n    }\n\n    @PostMapping(value = \"startNextTaskInfo\")\n    @ApiOperation(\"获取审批人\")\n    @RequiresPermissions(\"${moduleName}:${className}:form\")\n    public Result getStartNextTaskInfo(@RequestBody ${ClassName}DTO dto) {\n        return new Result().ok(${className}Service.getApprover(dto.getFormId(), dto.getId()));\n    }\n\n    @PostMapping(\"submit\")\n    @ApiOperation(\"提交申请\")\n    @RequiresPermissions(\"${moduleName}:${className}:form\")\n    public Result submit(@RequestBody ${ClassName}DTO dto) {\n        ${className}Service.apply(dto.getId(), dto.getAssignees());\n        return new Result();\n    }\n}', '', 'admin', '2019-10-24 10:28:39', 'admin', '2019-11-19 14:19:39');
INSERT INTO `gen_table_template` VALUES (1187554106030477313, 'parentEditTable-parent-index', '主子表(可编辑table)-主表列表页', 'uifile/parent/ui-edittable/parentIndex.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${parentclassName}.vue', '<template>\n <el-card shadow=\"never\" >\n   <#if table.languageFlag >\n    <code-snippet id=\"ui_query_form_i18n\" code=\"ui_query_form_i18n\" />\n    <code-snippet id=\"tablelist_i18n\" code=\"tablelist_i18n\" />\n   <#else>\n    <code-snippet id=\"ui_query_form\" code=\"ui_query_form\" />\n    <code-snippet id=\"tablelist\" code=\"tablelist\" />\n   </#if>\n   </el-card>\n</template>\n<script>\nimport mixinViewModule from \'@/mixins/view-module\'\nexport default {\n  mixins: [mixinViewModule],\n  data () {\n    return {\n       searchShow : true,\n      mixinViewModuleOptions: {\n        getDataListURL: \'/${moduleName}/${parentclassName}/page\',\n        getDataListIsPage: true,\n        deleteURL: \'/${moduleName}/${parentclassName}\',\n        deleteIsBatch: true,\n        exportURL: \'/${moduleName}/${parentclassName}/export\'\n      },\n headLock:${table.headLock?string},\n    <#if totalFlag>\n      sumFields: \'${sumFields}\',\n    </#if>\n      dataForm: {\n        <#list columnList as c>\n            <#if c.isQuery == \'1\' >\n             ${c.javaField}:\'\'<#if c_has_next>,</#if>\n            </#if>\n        </#list>\n      }\n    }\n  },\n  methods: {\n<#if totalFlag>\n    footerMethod ({ columns, data }) {\n      const sums = []\n      columns.forEach((column, columnIndex) => {\n        if (columnIndex === 0) {\n          sums.push(\'合计\')\n        } else {\n          let sumCell = null\n          switch (column.property) {\n           <#list listColList as c>\n               <#if c.totalType??&&c.totalType != \'default\'>\n                  case \'${c.javaField}\':\n                   sumCell = this.sumData.${c.javaField}\n                   break\n               </#if>\n           </#list>\n          }\n          sums.push(sumCell)\n        }\n      })\n      // 返回一个二维数组的表尾合计\n      return [sums]\n    },\n    </#if>\n    // 新增 / 修改\n    addOrUpdateHandle (row) {\n      let title = \'新增\'\n      let id\n      if (row) {\n        title = row.id\n        id = row.id\n      }\n      // 打开路由\n      var router = {\n        name: \'${moduleName}-${parentclassName}-editForm\',\n        id: \'\',\n        menuId: this.$route.meta.menuId,\n        oldName: \'${moduleName}-${className}\',\n        path: \'${moduleName}/${className}-editForm\',\n        title: \'编辑${functionName}\'+title\n      }\n      var params = {\n        timestamp: this.$xeutils.timestamp(),\n        ${pkField} : id\n      }\n      this.$options.methods.openNewTab(this.$router, router, params)\n    }\n  }\n}\n</script>', '', 'admin', '2019-10-25 10:18:57', 'admin', '2020-04-09 14:32:20');
INSERT INTO `gen_table_template` VALUES (1187554313786937345, 'parentEditTable-parent-editForm', '主子表(可编辑table)-主表编辑表单', 'uifile/parent/ui-edittable/parent-editForm.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${className}-editForm.vue', '<template>\n  <div>\n  <el-card v-loading=\"loading\">\n    <div slot=\"header\" class=\"clearfix\">\n        <el-button size=\"small\" type=\"primary\" @click=\"dataFormSubmitHandle()\">{{ $t(\'save\') }}</el-button>\n        <el-button size=\"small\" @click=\"closeTab()\">{{ $t(\'close\') }}</el-button>\n    </div>\n    <el-col :span=\"24\">\n     <#if table.languageFlag>\n      <code-snippet id=\"edit_form_i18n\" code=\"edit_form_i18n\" />\n     <#else>\n      <code-snippet id=\"edit_form\" code=\"edit_form\" />\n     </#if>\n    </el-col>\n  </el-card>\n  <child-list ref=\"childList\"></child-list>\n</div>\n</template>\n\n<script>\nimport debounce from \'lodash/debounce\'\nimport mainContent from \'@/views/main-content\'\n<code-snippet id=\"edit_form_imp\" code=\"edit_form_imp\" />\nimport ChildList from \'./${childclassName}-child\'\nvar content = mainContent\n\nexport default {\n  data () {\n    return {\n      timestamp: this.$route.params.timestamp,\n      loading : false,\n      activeName: \'1\',\n      dataForm: {\n      children: [],\n      deltList: [],\n      <#list columnList as c>\n          <#if c.isPk ==\'1\' >\n           ${c.javaField}: this.$route.params.${c.javaField},\n          <#elseif c.javaField != \'status\' && c.javaField != \'creator\' && c.javaField != \'createDate\' && c.javaField != \'updater\' && c.javaField != \'updateDate\'  && c.javaField != \'tenantId\' >\n           ${c.javaField}:\'\'<#if c_has_next>,</#if>\n          </#if>\n      </#list>\n      }\n    }\n  },\n  <code-snippet id=\"edit_form_computed\" code=\"edit_form_computed\" />\n  created () {\n    // 通过路由参数pid, 控制列表请求操作\n    this.$nextTick(() => {\n    this.$refs[\'dataForm\'].resetFields()\n    if (this.$route.params.${pkField}) {\n      this.dataForm.${pkField} = this.$route.params.${pkField}\n      this.loading = true\n      this.getInfo()\n    }\n    })\n  },\n  components: {\n    ChildList\n  },\n  methods: {\n    // 刷新子列表\n    refreshChildList () {\n      if (this.dataForm.${pkField}) {\n        this.$refs.childList.dataForm.${childField} = this.dataForm.${pkField}\n        this.$refs.childList.getDataList()\n      }\n    },\n    // 获取信息\n    getInfo () {\n        this.$http.get(`/${moduleName}/${parentclassName}/${r\"${\"}this.dataForm.${pkField}${r\"}\"}`).then(({ data: res }) => {\n        this.loading = false\n        if (res.code !== 0) {\n          return false\n        }\n        this.dataForm = {\n          ...this.dataForm,\n          ...res.data\n        }\n        this.refreshChildList()\n      }).catch(() => {})\n    },\n    // 关闭 tab\n    closeTab () {\n      content.methods.tabRemoveHandle(this.$route.name)\n      this.$emit(\'refreshDataList\')\n    },\n    // 表单提交\n    dataFormSubmitHandle: debounce(function () {\n      this.$refs[\'dataForm\'].validate((valid) => {\n        if (!valid) {\n            this.$message({\n                message: this.$t(\'prompt.valid\'),\n                type: \'error\',\n                duration: 1500\n            })\n          return false\n        }\n        let child = this.$refs.childList\n        if (child.getAllData().length <= 0) {\n          this.$message({\n            message: this.$t(\'prompt.children\'),\n            type: \'error\',\n            duration: 500\n          })\n          return false\n        }\n  // 子表验证\n    child.fullValidEvent().then(res => {\n      if(res){\n      this.dataForm.children = child.getAllData()\n      this.dataForm.deltList = child.deltList\n      this.$http[!this.dataForm.${pkField} ? \'post\' : \'put\'](\'/${moduleName}/${parentclassName}/\', this.dataForm).then(({ data: res }) => {\n          if (res.code !== 0) {\n            return false\n          }\n          this.$message({\n            message: this.$t(\'prompt.success\'),\n            type: \'success\',\n            duration: 500,\n            onClose: () => {\n                this.closeTab()\n            }\n          })\n      })\n      }  \n    })\n  })\n    }, 1000, { \'leading\': true, \'trailing\': false })\n  }\n}\n</script>\n', '', 'admin', '2019-10-25 10:19:47', 'admin', '2020-04-09 13:28:40');
INSERT INTO `gen_table_template` VALUES (1187554522323537921, 'parentEditTable-child-index', '主子表(可编辑table)-子表可编辑table', 'uifile/parent/ui-edittable/child-index.vue.xml', 'webui', 'src/views/modules/${moduleName}/', '${childclassName}-child.vue', '<template>\n    <el-card shadow=\"never\">\n    <div slot=\"header\" class=\"clearfix\">\n      <el-button size=\"small\" type=\"primary\" @click=\"addRow()\">{{ $t(\'add\') }}</el-button>\n    </div>\n          <vxe-table ref=\"editable\"\n                      :data=\"dataList\"\n                      class=\"vxe-table-element\"\n                      show-footer\n                      :footer-method=\"footerMethod\"\n                      :sort-config=\"{trigger:\'cell\'}\"\n                      @sort-change=\"sortChange\"\n                      :edit-config=\"{trigger: \'click\', mode: \'row\' }\"\n                      :edit-rules=\"dataRule\"\n                      style=\"width: 100%;\">\n                <vxe-table-column  type=\"index\" fixed=\"left\" width=\"50\"></vxe-table-column>\n                <#list childFileds.listColList as c >\n                    <#if table.languageFlag >\n                      <#if fieldMap[c.javaField]?? >\n                          <#assign fieldName = \"common.${c.javaField}\">\n                      <#else>\n                          <#assign fieldName = \"${className}.${c.javaField}\">\n                      </#if>\n                    <#else>\n                      <#assign fieldName = c.comments>\n                    </#if>\n                    <!--${c.comments}  -->\n                     <vxe-table-column field=\"${c.javaField}\" title=\"${c.comments}\" <#if c.sortType != \'default\'>sortable remote-sort :sort-by=\"\'${c.columnName}\'\"</#if>  <#if c.widthType != \'default\'> width=\"${c.widthType}\"</#if> <#if c.alignType != \'default\'> align=\"${c.alignType}\"</#if> \n                    <#if c.isEdit == \'0\' >\n                      >\n                    <#elseif c.showType==\'select\' >\n                        :edit-render=\"{name: \'ElSelect\',\n                         options:$getDictList(\'${c.dictType}\', true),\n                         optionProps:{value: \'val\', label: \'label\' } }\" >\n                    <#elseif c.showType==\'dateselect\' >\n                        :edit-render=\"{name: \'ElDatePicker\',\n                        props: {type: \'date\',valueFormat:\'yyyy-MM-dd HH:mm:ss\',format: \'yyyy-MM-dd\'}}\" >\n                    <#elseif c.showType==\'switch\' >\n                         :edit-render=\"{name: \'ElSwitch\',autofocus:false, type: \'visible\'}\" >\n                    <#elseif c.showType==\'number\' >\n                         :edit-render=\"{name: \'ElInputNumber\',autofocus:false,props: {min: 1,max:50} }\" >\n                    <#else>\n                         :edit-render=\"{name: \'ElInput\',autofocus:false}\" >\n                    </#if>\n                    </vxe-table-column>\n                </#list>\n            <vxe-table-column title=\"handle\"  align=\"center\" width=\"150\">\n              <template slot-scope=\"scope\">\n                <el-button  type=\"text\" icon=\"el-icon-delete\" size=\"small\" @click=\"deltRow(scope.row)\">{{ $t(\'delete\') }}</el-button>\n              </template>\n            </vxe-table-column>\n          </vxe-table>\n    </el-card>\n</template>\n<script>\nimport mixinViewModule from \'@/mixins/view-module\'\n<#if  childFileds.validsImp?? && (childFileds.validsImp?size &gt; 0) >\nimport {\n <#list childFileds.validsImp as validImp >\n    ${validImp}<#if validImp_has_next>,</#if>\n </#list>\n } from \'@/utils/validate\'\n</#if>\n\nexport default {\n  mixins: [mixinViewModule],\n  data () {\n    return {\n      mixinViewModuleOptions: {\n        activatedIsNeed: false,\n        getDataListURL: \'/${moduleName}/${childclassName}/list\',\n        getDataListIsPage: false,\n        deleteURL: \'/${moduleName}/${childclassName}\',\n        deleteIsBatch: false\n      },\n      dataForm: {\n            id:\'\',\n            parentId:\'\',\n         <#list childFileds.listColList as c>\n            <#if c.showType ==\'switch\' >\n             ${c.javaField}: false,\n            <#else>\n             ${c.javaField}:\'\'<#if c_has_next>,</#if>\n            </#if>\n        </#list>\n      },\n      deltList: [],\n      dataRule: {\n        <#list childFileds.listColList as c>\n            <#if c.valids?? && (c.valids?size &gt; 0) >\n                ${c.javaField}: [\n                    <#list c.valids as valid>\n                        <#if valid ==\'required\' >\n                        { required: true, message: this.$t(\'validate.required\'), trigger: \'blur\'}\n                        <#elseif valid ==\'email\' >\n                        { required : ${c.valids?seq_contains(\"required\")?string(\"true\", \"false\")}, validator: validateEmail, trigger: \'blur\' }\n                        <#elseif valid ==\'mobile\' >\n                        { required : ${c.valids?seq_contains(\"required\")?string(\"true\", \"false\")}, validator: validateMobile, trigger: \'blur\' }\n                        <#elseif valid ==\'phone\' >\n                        { required : ${c.valids?seq_contains(\"required\")?string(\"true\", \"false\")}, validator: validatePhone, trigger: \'blur\' }\n                        <#elseif valid ==\'url\' >\n                        { required : ${c.valids?seq_contains(\"required\")?string(\"true\", \"false\")}, validator: validateUrl, trigger: \'blur\' }\n                        <#elseif valid ==\'num\' >\n                        { required : ${c.valids?seq_contains(\"required\")?string(\"true\", \"false\")}, validator: validateNum, trigger: \'blur\' }\n                        </#if><#if valid_has_next>,</#if>\n                    </#list>\n                 ]<#if c_has_next>,</#if>\n            </#if>\n        </#list>\n      }\n    }\n  },\n  methods: {\n    footerMethod ({ columns, data }) {\n      const sums = []\n      columns.forEach((column, columnIndex) => {\n        if (columnIndex === 0) {\n          sums.push(\'合计\')\n        } else {\n          let sumCell = null\n          switch (column.property) {\n           <#list childFileds.listColList as c>\n               <#if c.totalType??&&c.totalType != \'default\'>\n                  case \'${c.javaField}\':\n                   sumCell = this.$xeutils.sum(data, column.property)\n                   break\n               </#if>\n           </#list>\n          }\n          sums.push(sumCell)\n        }\n      })\n      // 返回一个二维数组的表尾合计\n      return [sums]\n    },\n     // 新增\n    addRow () {\n      // 默认插入一行 可以设置插入数据的默认值 自行处理\n      this.$refs.editable.insertAt(this.dataForm).then(row => {\n        // 设置插入行的可编辑状态\n        this.$refs.editable.setActiveRow(row,-1)\n      })\n    },\n  getAllData () {\n      return this.$refs.editable.getTableData().tableData\n    },\n      // 删除row\n    deltRow (rowData) {\n      // 主键是否为空\n      if (rowData.id) {\n        // 不为空将 row 移到 deltList\n        this.deltList.push(rowData)\n        // 移除行\n        this.$refs.editable.remove(rowData)\n      } else {\n        this.$refs.editable.remove(rowData)\n      }\n    },\n    async fullValidEvent () {\n      const errMap = await this.$refs.editable.fullValidate().catch(errMap => errMap)\n      let self = this\n      if (errMap) {\n        Object.values(errMap).forEach(errList => {\n          errList.forEach(params => {\n            let { rowIndex, column, rules } = params\n            rules.forEach(rule => {\n              self.$message.error(`第 ${r\"${\"}rowIndex} 行 ${r\"${\"}column.title} 校验错误：${r\"${\"}rule.message}`)\n            })\n          })\n        })\n        return false\n      } else {\n        return true\n      }\n    }\n  }\n}\n</script>\n', '', 'admin', '2019-10-25 10:20:36', 'admin', '2020-04-09 13:32:16');
INSERT INTO `gen_table_template` VALUES (1187554777186226178, 'parent-child-controller', '主子表(一体事务)-子表接口访问', 'javafile/web/common/child-controller.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/controller', '${childClassName}Controller.java', '/**\n     * Copyright &copy; 2013-2019 山东易科德软件有限公司\n     * All rights reserved.\n     */\n    package ${packageName}.modules.${moduleName}.controller;\n    import ${packageName}.core.annotation.LogOperation;\n    import ${packageName}.core.constant.Constant;\n    import ${packageName}.core.page.PageData;\n    import ${packageName}.core.utils.ExcelUtils;\n    import ${packageName}.core.utils.Result;\n    import ${packageName}.core.validator.AssertUtils;\n    import ${packageName}.core.validator.ValidatorUtils;\n    import ${packageName}.core.validator.group.AddGroup;\n    import ${packageName}.core.validator.group.DefaultGroup;\n    import ${packageName}.core.validator.group.UpdateGroup;\n    import ${packageName}.modules.${moduleName}.dto.${childClassName}DTO;\n    import ${packageName}.modules.${moduleName}.excel.${childClassName}Excel;\n    import ${packageName}.modules.${moduleName}.service.${childClassName}Service;\n    import io.swagger.annotations.Api;\n    import io.swagger.annotations.ApiImplicitParam;\n    import io.swagger.annotations.ApiImplicitParams;\n    import io.swagger.annotations.ApiOperation;\n    import org.springframework.beans.factory.annotation.Autowired;\n    import org.springframework.web.bind.annotation.*;\n    import springfox.documentation.annotations.ApiIgnore;\n\n    import javax.servlet.http.HttpServletResponse;\n    import java.util.List;\n    import java.util.Map;\n    /**\n     * ${table.tableNameAndComments}\n     * ${functionName}Controller\n     * @author ${functionAuthor}\n     * @since  ${functionVersion}\n     */\n    @RestController\n    @RequestMapping(\"${moduleName}/${childclassName}\")\n    @Api(tags=\"${table.comments}\")\n    public class ${childClassName}Controller {\n        @Autowired\n        private ${childClassName}Service ${childclassName}Service;\n\n        @GetMapping(\"page\")\n        @ApiOperation(\"分页\")\n        @ApiImplicitParams({\n            @ApiImplicitParam(name = Constant.PAGE, value = \"当前页码，从1开始\", paramType = \"query\", required = true, dataType=\"int\") ,\n            @ApiImplicitParam(name = Constant.LIMIT, value = \"每页显示记录数\", paramType = \"query\",required = true, dataType=\"int\") ,\n            @ApiImplicitParam(name = Constant.ORDER_FIELD, value = \"排序字段\", paramType = \"query\", dataType=\"String\") ,\n            @ApiImplicitParam(name = Constant.ORDER, value = \"排序方式，可选值(asc、desc)\", paramType = \"query\", dataType=\"String\")\n        })\n        public Result<PageData<${childClassName}DTO>> page(@ApiIgnore @RequestParam Map<String, Object> params){\n            PageData<${childClassName}DTO> page = ${childclassName}Service.page(params);\n            return new Result<PageData<${childClassName}DTO>>().ok(page);\n        }\n\n        @GetMapping(\"{id}\")\n        @ApiOperation(\"信息\")\n        public Result<${childClassName}DTO> get(@PathVariable(\"id\") Long id){\n            ${childClassName}DTO data = ${childclassName}Service.get(id);\n            return new Result<${childClassName}DTO>().ok(data);\n        }\n\n        @GetMapping(\"list\")\n        @ApiOperation(\"列表\")\n        public Result<List<${childClassName}DTO>> list(@ApiIgnore @RequestParam Map<String, Object> params) {\n            List<${childClassName}DTO> list = ${childclassName}Service.list(params);\n            return new Result<List<${childClassName}DTO>>().ok(list);\n        }\n\n        @PostMapping\n        @ApiOperation(\"保存\")\n        @LogOperation(\"保存\")\n        public Result save(@RequestBody ${childClassName}DTO dto){\n            //效验数据\n            ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);\n            ${childclassName}Service.save(dto);\n            return new Result().ok(dto);\n        }\n\n        @PutMapping\n        @ApiOperation(\"修改\")\n        @LogOperation(\"修改\")\n        public Result update(@RequestBody ${childClassName}DTO dto){\n            //效验数据\n            ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);\n            ${childclassName}Service.update(dto);\n            return new Result().ok(dto);\n        }\n\n        @DeleteMapping\n        @ApiOperation(\"删除\")\n        @LogOperation(\"删除\")\n        public Result delete(@RequestBody Long[] ids){\n            //效验数据\n            AssertUtils.isArrayEmpty(ids, \"id\");\n            ${childclassName}Service.delete(ids);\n            return new Result();\n        }\n\n    }', '', 'admin', '2019-10-25 10:21:37', 'admin', '2019-11-21 16:10:12');
INSERT INTO `gen_table_template` VALUES (1187555068153483265, 'parent-child-service', '主子表(一体事务)-子表业务逻辑接口', 'javafile/web/common/child-service.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/service', '${childClassName}Service.java', '/**\n * Copyright &copy; 2013-2019 山东易科德软件有限公司\n * All rights reserved.\n */\npackage ${packageName}.modules.${moduleName}.service;\nimport java.util.List;\nimport ${packageName}.core.service.CrudService;\nimport ${packageName}.modules.${moduleName}.dto.${childClassName}DTO;\nimport ${packageName}.modules.${moduleName}.entity.${childClassName}Entity;\n\n\n/**\n * ${functionName}Service\n * @author ${functionAuthor}\n * @version ${functionVersion}\n */\npublic interface ${childClassName}Service extends CrudService<${childClassName}Entity, ${childClassName}DTO> {\n     /**\n     * @Description: 根据主表ID 删除子表相关数据\n     * @Param: [ids]\n     * @return: void\n     * @Author: ${functionAuthor}\n     * @Date: ${functionVersion}\n     */\n     public void deltByParentIds(Long[] ids);\n}\n', '', 'admin', '2019-10-25 10:22:47', 'admin', '2019-11-21 16:06:15');
INSERT INTO `gen_table_template` VALUES (1187555236714172418, 'parent-child-serviceImpl', '主子表(一体事务)-子表业务逻辑实现', 'javafile/web/common/child-serviceImpl.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/service/impl', '${childClassName}ServiceImpl.java', '/**\n * Copyright &copy; 2013-2019 山东易科德软件有限公司\n * All rights reserved.\n */\npackage ${packageName}.modules.${moduleName}.service.impl;\n\nimport com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;\nimport ${packageName}.core.service.impl.CrudServiceImpl;\nimport ${packageName}.modules.${moduleName}.dao.${childClassName}Dao;\nimport ${packageName}.modules.${moduleName}.dto.${childClassName}DTO;\nimport ${packageName}.modules.${moduleName}.entity.${childClassName}Entity;\nimport ${packageName}.modules.${moduleName}.service.${childClassName}Service;\nimport org.apache.commons.lang3.StringUtils;\nimport org.springframework.stereotype.Service;\n\nimport java.util.Map;\n\n\n/**\n * ${functionName}ServiceImpl\n * @author ${functionAuthor}\n * @version ${functionVersion}\n */\n@Service\npublic class ${childClassName}ServiceImpl extends CrudServiceImpl<${childClassName}Dao, ${childClassName}Entity, ${childClassName}DTO> implements ${childClassName}Service {\n\n    @Override\n    public QueryWrapper<${childClassName}Entity> getWrapper(Map<String, Object> params){\n\n        QueryWrapper<${childClassName}Entity> wrapper = new QueryWrapper<>();\n        String id = (String)params.get(\"id\");\n        wrapper.eq(StringUtils.isNotBlank(id), \"id\", id);\n        <#list childFileds.columnList as c>\n        	<#if c.isQuery ==\'1\' && c.isPk == \'0\' >\n			Object ${c.simpleJavaField}=params.get(\"${c.simpleJavaField}\");\n			if(${c.simpleJavaField}!=null){\n				wrapper.${c.queryType}(StringUtils.isNotBlank(${c.simpleJavaField}.toString()), \"${c.columnName}\", ${c.simpleJavaField}.toString());\n			}\n        	</#if>\n        </#list>\n\n        return wrapper;\n    }\n\n    /**\n     * @Description: 根据主表ID 删除子表相关数据\n     * @Param: [ids]\n     * @return: void\n     * @Author: ${functionAuthor}\n     * @Date: ${functionVersion}\n     */\n    @Override\n    public void deltByParentIds(Long[] ids) {\n        QueryWrapper<${childClassName}Entity> wrapper = new QueryWrapper<>();\n        wrapper.in(\"parent_id\", ids);\n        this.baseDao.delete(wrapper);\n    }\n\n}', '', 'admin', '2019-10-25 10:23:27', 'admin', '2019-11-21 15:44:15');
INSERT INTO `gen_table_template` VALUES (1187558260744441857, 'parent-parent-dto', '主子表(一体事务)-主表页面实体类', 'javafile/web/common/parent-dto.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/dto', '${parentClassName}DTO.java', '/**\n * Copyright &copy; 2013-2019 山东易科德软件有限公司\n * All rights reserved.\n */\npackage ${packageName}.modules.${moduleName}.dto;\n\nimport io.swagger.annotations.ApiModel;\nimport io.swagger.annotations.ApiModelProperty;\nimport lombok.Data;\nimport ${packageName}.modules.${moduleName}.dto.${childClassName}DTO ;\n\n\nimport java.io.Serializable;\n\nimport java.util.List;\n<#list importList as i>\nimport ${i};\n</#list>\n\n/**\n * ${table.tableNameAndComments}\n * ${functionName}DTO\n * @author ${functionAuthor}\n * @since  ${functionVersion}\n */\n@Data\n@ApiModel(value = \"${table.comments}\")\npublic class ${parentClassName}DTO implements Serializable {\n	private static final long serialVersionUID = 1L;\n\n    <#-- 生成非主键字段属性 -->\n	<#list columnList as c>\n    /**\n    * <#if c.comments??>${c.comments}</#if>\n    */\n    @ApiModelProperty(value = \"${c.comments}\")\n    private ${c.simpleJavaType} ${c.simpleJavaField};\n	</#list>\n	/**\n     * 子表信息集合\n     */\n    @ApiModelProperty(value = \"子表信息集合\")\n    private List<${childClassName}DTO> children;\n\n    /**\n     * 删除子表信息集合\n     */\n    @ApiModelProperty(value = \"删除子表信息集合\")\n    private List<${childClassName}DTO> deltList;\n}', '', 'admin', '2019-10-25 10:35:28', 'admin', '2019-11-21 15:36:25');
INSERT INTO `gen_table_template` VALUES (1187558421222707202, 'parent-parent-serviceImpl', '主子表(一体事务)-主表业务逻辑实现', 'javafile/web/common/parent-serviceImpl.xml', 'java', 'src/main/java/${packageName}/modules/${moduleName}/service/impl', '${parentClassName}ServiceImpl.java', '/**\n * Copyright &copy; 2013-2019 山东易科德软件有限公司\n * All rights reserved.\n */\npackage ${packageName}.modules.${moduleName}.service.impl;\nimport com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;\nimport ${packageName}.core.service.impl.CrudServiceImpl;\nimport ${packageName}.modules.${moduleName}.dao.${parentClassName}Dao;\nimport ${packageName}.modules.${moduleName}.dto.${parentClassName}DTO;\nimport ${packageName}.modules.${moduleName}.entity.${parentClassName}Entity;\nimport ${packageName}.modules.${moduleName}.service.${parentClassName}Service;\nimport ${packageName}.modules.${moduleName}.dto.${childClassName}DTO;\nimport ${packageName}.modules.${moduleName}.service.${childClassName}Service;\nimport org.apache.commons.lang3.StringUtils;\nimport org.springframework.stereotype.Service;\nimport org.springframework.transaction.annotation.Transactional;\nimport javax.annotation.Resource;\nimport java.util.Map;\n\n\n/**\n * ${functionName}ServiceImpl\n * @author ${functionAuthor}\n * @version ${functionVersion}\n */\n@Service\npublic class ${parentClassName}ServiceImpl extends CrudServiceImpl<${parentClassName}Dao, ${parentClassName}Entity, ${parentClassName}DTO> implements ${parentClassName}Service {\n    @Resource\n    ${childClassName}Service ${childclassName}Service;\n\n    @Override\n    public QueryWrapper<${parentClassName}Entity> getWrapper(Map<String, Object> params){\n\n        QueryWrapper<${parentClassName}Entity> wrapper = new QueryWrapper<>();\n        String id = (String)params.get(\"id\");\n        wrapper.eq(StringUtils.isNotBlank(id), \"id\", id);\n        <#list columnList as c>\n        	<#if c.isQuery ==\'1\' && c.isPk == \'0\' >\n			Object ${c.simpleJavaField}=params.get(\"${c.simpleJavaField}\");\n			if(${c.simpleJavaField}!=null){\n				wrapper.${c.queryType}(StringUtils.isNotBlank(${c.simpleJavaField}.toString()), \"${c.columnName}\", ${c.simpleJavaField}.toString());\n			}\n        	</#if>\n        </#list>\n\n        return wrapper;\n    }\n\n    /**\n     * @Description: 重写主表保存\n     * @Param: [ids]\n     * @return: void\n     * @Author: ${functionAuthor}\n     * @Date: ${functionVersion}\n     */\n    @Override\n    @Transactional\n    public void save(${parentClassName}DTO dto) {\n        super.save(dto);\n        for (${childClassName}DTO child : dto.getChildren()) {\n            child.setParentId(dto.getId());\n            ${childclassName}Service.save(child);\n        }\n    }\n    /**\n     * @Description: 重写主表修改\n     * @Param: [ids]\n     * @return: void\n     * @Author: ${functionAuthor}\n     * @Date: ${functionVersion}\n     */\n    @Override\n    @Transactional\n    public void update(${parentClassName}DTO dto) {\n        super.update(dto);\n        //先 删除子表\n        for (${childClassName}DTO child : dto.getDeltList()) {\n            ${childclassName}Service.deleteById(child.getId());\n        }\n        //二 新增子表\n        for (${childClassName}DTO child : dto.getChildren()) {\n            if (child.getId() == null) {\n                child.setParentId(dto.getId());\n                ${childclassName}Service.save(child);\n            }\n        }\n        //三 修改子表\n        for (${childClassName}DTO child : dto.getChildren()) {\n            if (child.getId() != null) {\n                ${childclassName}Service.update(child);\n            }\n        }\n    }\n\n    /**\n     * @Description: 重写主表删除\n     * @Param: [ids]\n     * @return: void\n     * @Author: ${functionAuthor}\n     * @Date: ${functionVersion}\n     */\n    @Override\n    @Transactional\n    public void delete(Long[] ids) {\n        super.delete(ids);\n        ${childclassName}Service.deltByParentIds(ids);\n    }\n\n}', '', 'admin', '2019-10-25 10:36:06', 'admin', '2019-11-21 17:04:26');
INSERT INTO `gen_table_template` VALUES (1239490194479017985, 'tree-tab-index', '树表-标签页-列表', '', 'webui', 'src/views/modules/${moduleName}/', '${className}.vue', '<template>\n  <el-card shadow=\"never\">\n    <#if table.languageFlag>\n    <code-snippet id=\"ui_tree_query_form_i18n\" code=\"ui_tree_query_form_i18n\" />\n    <code-snippet id=\"tree_tablelist_i18n\" code=\"tree_tablelist_i18n\" />\n    <#else>\n    <code-snippet id=\"ui_tree_query_form\" code=\"ui_tree_query_form\" />\n    <code-snippet id=\"tree_tablelist\" code=\"tree_tablelist\" />\n    </#if>\n   </el-card>\n</template>\n<script>\nimport mixinViewModule from \'@/mixins/view-module\'\nexport default {\n  mixins: [mixinViewModule],\n  data () {\n	return {\n	  searchShow: true,\n	  mixinViewModuleOptions: {\n		getDataListURL: \'/${moduleName}/${className}/list\',\n		getDataListIsPage: false,\n		deleteURL: \'/${moduleName}/${className}\',\n		deleteIsBatch: true,\n		exportURL: \'/${moduleName}/${className}/export\',\n    getTreeDataListURL: \'/${moduleName}/${className}/list\',\n    treeType: true\n	  },\n	  dataForm: {\n		<#list queryColList as c>\n			 ${c.javaField}:\'\'<#if c_has_next>,</#if>\n		</#list>\n	  }\n	}\n  },\n  methods: {\n    // 新增 / 修改\n    addOrUpdateHandle (row) {\n      this.openTab(row, null)\n    },\n   // 新增下级\n    addChild (row) {\n      this.openTab(null, row.id)\n    },\n    // 打开窗口\n    openTab (row, pid) {\n      let title = \'新增\'\n      let id\n      if (row && row.id) {\n        id = row.id\n        title = \'修改\'\n      }\n      // 打开路由\n      var router = {\n        name: \'${moduleName}-${className}-editForm\',\n        id: id,\n        menuId: this.$route.meta.menuId,\n        oldName: \'${moduleName}-${className}\',\n        path: \'${moduleName}/${className}-editForm\',\n        title: title\n      }\n      var params = {\n        timestamp: this.$xeutils.timestamp(),\n        id: id,\n        pid: pid\n      }\n      this.$options.methods.openNewTab(this.$router, router, params)\n    }\n  }\n}\n</script>\n', '', 'admin', '2020-03-16 17:54:26', 'admin', '2020-04-08 13:37:59');
INSERT INTO `gen_table_template` VALUES (1239492488641671169, 'tree-tab-add', '树表-标签页-数据维护', '', 'webui', 'src/views/modules/${moduleName}/', '${className}-editForm.vue', '<template>\n    <el-card v-loading=\"loading\">\n     <div slot=\"header\" class=\"clearfix\">\n        <el-button size=\"small\" type=\"primary\" @click=\"dataFormSubmitHandle()\">{{ $t(\'save\') }}</el-button>\n        <el-button size=\"small\" @click=\"closeTab()\">{{ $t(\'close\') }}</el-button>\n      </div>\n      <el-col :span=\"24\">\n       <#if table.languageFlag>\n        <code-snippet id=\"edit_form_i18n\" code=\"edit_form_i18n\" />\n       <#else>\n        <code-snippet id=\"edit_form\" code=\"edit_form\" />\n       </#if>\n      </el-col>\n   </el-card>\n</template>\n\n<script>\nimport debounce from \'lodash/debounce\'\nimport ElTreeSelect from \'@/components/uni-tree-select\'\nimport mainContent from \'@/views/main-content\'\nimport { treeDataTranslate } from \'@/utils/index\'\n<code-snippet id=\"edit_form_imp\" code=\"edit_form_imp\" />\nvar content = mainContent\nexport default {\n  data () {\n    return {\n      loading: false,\n      visible: false,\n      parentTreeData: [],\n      dataForm: {\n        <#list columnList as c>\n          <#if c.javaField ==\'id\' >\n           id: this.$route.params.id,\n          <#elseif c.javaField != \'status\' && c.javaField != \'creator\' && c.javaField != \'createDate\' && c.javaField != \'updater\' && c.javaField != \'updateDate\'  && c.javaField != \'tenantId\' >\n           ${c.javaField}:\'\'<#if c_has_next>,</#if>\n          </#if>\n        </#list>\n      }\n    }\n  },\n  <code-snippet id=\"edit_form_computed\" code=\"edit_form_computed\" />\n  components: { ElTreeSelect },\n created () {\n    // 通过路由参数pid, 控制列表请求操作\n this.$nextTick(() => {\n    this.$refs[\'dataForm\'].resetFields()\n    // 获取父级列表\n    this.dataForm.pid = this.$route.params.pid\n    if (this.$route.params.id) {\n      this.dataForm.id = this.$route.params.id\n      this.loading = true\n      this.getInfo()\n      this.getTreeCompList(this.dataForm.id)\n    } else {\n      this.getTreeCompList()\n    }\n})\n  },\n  methods: {\n   // 获取父级树组件\n    getTreeCompList (id) {\n      this.$http.get(\'/${moduleName}/${className}/list\',\n        {\n          params: {\n            id_ne: id,\n            pid_ne: id\n          }\n        }\n      ).then(({ data: res }) => {\n        if (res.code !== 0) {\n          return false\n        }\n        console.log(this.dataForm.pid)\n        this.parentTreeData = treeDataTranslate(res.data, \'id\', \'pid\')\n      }).catch(err => {\n        return this.$message.error(err)\n      })\n    },\n    // 获取信息\n   <code-snippet id=\"edit_form_getinfo\" code=\"edit_form_getinfo\" />\n     // 关闭 tab\n    closeTab () {\n      content.methods.tabRemoveHandle(this.$route.name)\n    },\n    // 表单提交\n    dataFormSubmitHandle: debounce(function () {\n      this.$refs[\'dataForm\'].validate((valid) => {\n        if (!valid) {\n          return false\n        }\n        this.loading = true\n        this.$http[!this.dataForm.${pkField} ? \'post\' : \'put\'](\'/${moduleName}/${className}/\', this.dataForm).then(({ data: res }) => {\n         this.loading = false\n          if (res.code !== 0) {\n            return this.$message.error(res.msg)\n          }\n          this.$message({\n            message: this.$t(\'prompt.success\'),\n            type: \'success\',\n            duration: 500,\n            onClose: () => {\n              this.closeTab()\n            }\n          })\n        }).catch(() => {})\n      })\n    }, 1000, { \'leading\': true, \'trailing\': false })\n  }\n}\n</script>\n', '', 'admin', '2020-03-16 18:03:33', 'admin', '2020-04-08 15:08:27');
COMMIT;

-- ----------------------------
-- Table structure for gen_table_template_type
-- ----------------------------
DROP TABLE IF EXISTS `gen_table_template_type`;
CREATE TABLE `gen_table_template_type` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `template_code` varchar(64) NOT NULL COMMENT '模板编码',
  `template_name` varchar(256) NOT NULL COMMENT '模板描述',
  `type_code` varchar(64) NOT NULL COMMENT '分类编码',
  `type_name` varchar(256) NOT NULL COMMENT '分类描述',
  `remark` varchar(256) DEFAULT NULL COMMENT '备注信息',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uq_source_table_name` (`template_code`,`type_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='模板分类维护';

-- ----------------------------
-- Records of gen_table_template_type
-- ----------------------------
BEGIN;
INSERT INTO `gen_table_template_type` VALUES (1245657626482577410, 'service', '单体通用-业务逻辑接口', 'single-crud-tree-tab', '单体应用-树表操作(tab页)', NULL, 'admin', '2020-04-02 18:21:36', 'admin', '2020-04-02 18:21:36');
INSERT INTO `gen_table_template_type` VALUES (1245657626767790082, 'execl', '单体通用-导入导出类', 'single-crud-tree-tab', '单体应用-树表操作(tab页)', NULL, 'admin', '2020-04-02 18:21:36', 'admin', '2020-04-02 18:21:36');
INSERT INTO `gen_table_template_type` VALUES (1245657627078168578, 'controller', '单体通用-接口访问', 'single-crud-tree-tab', '单体应用-树表操作(tab页)', NULL, 'admin', '2020-04-02 18:21:36', 'admin', '2020-04-02 18:21:36');
INSERT INTO `gen_table_template_type` VALUES (1245657627342409729, 'entity', '单体通用-数据实体类', 'single-crud-tree-tab', '单体应用-树表操作(tab页)', NULL, 'admin', '2020-04-02 18:21:36', 'admin', '2020-04-02 18:21:36');
INSERT INTO `gen_table_template_type` VALUES (1245657627518570497, 'mapper', '单体通用-数据库操作映射', 'single-crud-tree-tab', '单体应用-树表操作(tab页)', NULL, 'admin', '2020-04-02 18:21:36', 'admin', '2020-04-02 18:21:36');
INSERT INTO `gen_table_template_type` VALUES (1245657627694731266, 'dao', '单体通用-数据操作', 'single-crud-tree-tab', '单体应用-树表操作(tab页)', NULL, 'admin', '2020-04-02 18:21:36', 'admin', '2020-04-02 18:21:36');
INSERT INTO `gen_table_template_type` VALUES (1245657627958972418, 'dto', '单体通用-页面实体类', 'single-crud-tree-tab', '单体应用-树表操作(tab页)', NULL, 'admin', '2020-04-02 18:21:36', 'admin', '2020-04-02 18:21:36');
INSERT INTO `gen_table_template_type` VALUES (1245657628210630657, 'tree-serviceImpl', '树表-业务逻辑实现', 'single-crud-tree-tab', '单体应用-树表操作(tab页)', NULL, 'admin', '2020-04-02 18:21:36', 'admin', '2020-04-02 18:21:36');
INSERT INTO `gen_table_template_type` VALUES (1245657628466483202, 'tree-tab-index', '树表-标签页-列表', 'single-crud-tree-tab', '单体应用-树表操作(tab页)', NULL, 'admin', '2020-04-02 18:21:36', 'admin', '2020-04-02 18:21:36');
INSERT INTO `gen_table_template_type` VALUES (1245657628546174977, 'tree-tab-add', '树表-标签页-数据维护', 'single-crud-tree-tab', '单体应用-树表操作(tab页)', NULL, 'admin', '2020-04-02 18:21:37', 'admin', '2020-04-02 18:21:37');
INSERT INTO `gen_table_template_type` VALUES (1245657842870915074, 'parent-parent-serviceImpl', '主子表(一体事务)-主表业务逻辑实现', 'parent-edittable', '单体应用-父子表模版(可编辑Table)', NULL, 'admin', '2020-04-02 18:22:28', 'admin', '2020-04-02 18:22:28');
INSERT INTO `gen_table_template_type` VALUES (1245657843084824578, 'parent-parent-dto', '主子表(一体事务)-主表页面实体类', 'parent-edittable', '单体应用-父子表模版(可编辑Table)', NULL, 'admin', '2020-04-02 18:22:28', 'admin', '2020-04-02 18:22:28');
INSERT INTO `gen_table_template_type` VALUES (1245657843210653697, 'parent-child-serviceImpl', '主子表(一体事务)-子表业务逻辑实现', 'parent-edittable', '单体应用-父子表模版(可编辑Table)', NULL, 'admin', '2020-04-02 18:22:28', 'admin', '2020-04-02 18:22:28');
INSERT INTO `gen_table_template_type` VALUES (1245657843344871426, 'parent-child-service', '主子表(一体事务)-子表业务逻辑接口', 'parent-edittable', '单体应用-父子表模版(可编辑Table)', NULL, 'admin', '2020-04-02 18:22:28', 'admin', '2020-04-02 18:22:28');
INSERT INTO `gen_table_template_type` VALUES (1245657843479089153, 'parent-child-controller', '主子表(一体事务)-子表接口访问', 'parent-edittable', '单体应用-父子表模版(可编辑Table)', NULL, 'admin', '2020-04-02 18:22:28', 'admin', '2020-04-02 18:22:28');
INSERT INTO `gen_table_template_type` VALUES (1245657843617501185, 'parentEditTable-parent-index', '主子表(可编辑table)-主表列表页', 'parent-edittable', '单体应用-父子表模版(可编辑Table)', NULL, 'admin', '2020-04-02 18:22:28', 'admin', '2020-04-02 18:22:28');
INSERT INTO `gen_table_template_type` VALUES (1245657843755913218, 'parentEditTable-parent-editForm', '主子表(可编辑table)-主表编辑表单', 'parent-edittable', '单体应用-父子表模版(可编辑Table)', NULL, 'admin', '2020-04-02 18:22:28', 'admin', '2020-04-02 18:22:28');
INSERT INTO `gen_table_template_type` VALUES (1245657843890130945, 'parentEditTable-child-index', '主子表(可编辑table)-子表可编辑table', 'parent-edittable', '单体应用-父子表模版(可编辑Table)', NULL, 'admin', '2020-04-02 18:22:28', 'admin', '2020-04-02 18:22:28');
INSERT INTO `gen_table_template_type` VALUES (1245658547501404161, 'bpm-serviceImpl', '单体bpm-业务逻辑实现', 'single-curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2020-04-02 18:25:16', 'admin', '2020-04-02 18:25:16');
INSERT INTO `gen_table_template_type` VALUES (1245658547639816194, 'bpm-service', '单体bpm-业务逻辑接口', 'single-curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2020-04-02 18:25:16', 'admin', '2020-04-02 18:25:16');
INSERT INTO `gen_table_template_type` VALUES (1245658547765645313, 'bpm-controller', '单体bpm-接口访问', 'single-curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2020-04-02 18:25:16', 'admin', '2020-04-02 18:25:16');
INSERT INTO `gen_table_template_type` VALUES (1245658547929223169, 'bpm-form', '单体bpm-表单', 'single-curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2020-04-02 18:25:16', 'admin', '2020-04-02 18:25:16');
INSERT INTO `gen_table_template_type` VALUES (1245658548063440898, 'bpm-dto', '单体bpm-页面实体类', 'single-curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2020-04-02 18:25:16', 'admin', '2020-04-02 18:25:16');
INSERT INTO `gen_table_template_type` VALUES (1245658548201852930, 'entity', '单体通用-数据实体类', 'single-curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2020-04-02 18:25:16', 'admin', '2020-04-02 18:25:16');
INSERT INTO `gen_table_template_type` VALUES (1245658548319293442, 'mapper', '单体通用-数据库操作映射', 'single-curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2020-04-02 18:25:16', 'admin', '2020-04-02 18:25:16');
INSERT INTO `gen_table_template_type` VALUES (1245658548453511169, 'dao', '单体通用-数据操作', 'single-curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2020-04-02 18:25:16', 'admin', '2020-04-02 18:25:16');
INSERT INTO `gen_table_template_type` VALUES (1245658783292592130, 'service', '单体通用-业务逻辑接口', 'single-crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2020-04-02 18:26:12', 'admin', '2020-04-02 18:26:12');
INSERT INTO `gen_table_template_type` VALUES (1245658783468752898, 'execl', '单体通用-导入导出类', 'single-crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2020-04-02 18:26:12', 'admin', '2020-04-02 18:26:12');
INSERT INTO `gen_table_template_type` VALUES (1245658783644913665, 'controller', '单体通用-接口访问', 'single-crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2020-04-02 18:26:12', 'admin', '2020-04-02 18:26:12');
INSERT INTO `gen_table_template_type` VALUES (1245658783804297217, 'entity', '单体通用-数据实体类', 'single-crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2020-04-02 18:26:12', 'admin', '2020-04-02 18:26:12');
INSERT INTO `gen_table_template_type` VALUES (1245658783959486465, 'mapper', '单体通用-数据库操作映射', 'single-crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2020-04-02 18:26:12', 'admin', '2020-04-02 18:26:12');
INSERT INTO `gen_table_template_type` VALUES (1245658784118870017, 'dao', '单体通用-数据操作', 'single-crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2020-04-02 18:26:12', 'admin', '2020-04-02 18:26:12');
INSERT INTO `gen_table_template_type` VALUES (1245658784295030785, 'dto', '单体通用-页面实体类', 'single-crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2020-04-02 18:26:12', 'admin', '2020-04-02 18:26:12');
INSERT INTO `gen_table_template_type` VALUES (1245658784454414338, 'tree-serviceImpl', '树表-业务逻辑实现', 'single-crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2020-04-02 18:26:12', 'admin', '2020-04-02 18:26:12');
INSERT INTO `gen_table_template_type` VALUES (1245658879476371457, 'tree-index', '树表-列表页', 'single-crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2020-04-02 18:26:35', 'admin', '2020-04-02 18:26:35');
INSERT INTO `gen_table_template_type` VALUES (1245658879673503745, 'tree-add', '树表-数据维护', 'single-crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2020-04-02 18:26:35', 'admin', '2020-04-02 18:26:35');
INSERT INTO `gen_table_template_type` VALUES (1245659104802770945, 'serviceImpl', '单体通用-业务逻辑实现', 'single-crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2020-04-02 18:27:28', 'admin', '2020-04-02 18:27:28');
INSERT INTO `gen_table_template_type` VALUES (1245659104970543105, 'service', '单体通用-业务逻辑接口', 'single-crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2020-04-02 18:27:29', 'admin', '2020-04-02 18:27:29');
INSERT INTO `gen_table_template_type` VALUES (1245659105138315265, 'execl', '单体通用-导入导出类', 'single-crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2020-04-02 18:27:29', 'admin', '2020-04-02 18:27:29');
INSERT INTO `gen_table_template_type` VALUES (1245659105297698818, 'controller', '单体通用-接口访问', 'single-crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2020-04-02 18:27:29', 'admin', '2020-04-02 18:27:29');
INSERT INTO `gen_table_template_type` VALUES (1245659105457082370, 'entity', '单体通用-数据实体类', 'single-crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2020-04-02 18:27:29', 'admin', '2020-04-02 18:27:29');
INSERT INTO `gen_table_template_type` VALUES (1245659105624854530, 'mapper', '单体通用-数据库操作映射', 'single-crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2020-04-02 18:27:29', 'admin', '2020-04-02 18:27:29');
INSERT INTO `gen_table_template_type` VALUES (1245659105855541250, 'dao', '单体通用-数据操作', 'single-crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2020-04-02 18:27:29', 'admin', '2020-04-02 18:27:29');
INSERT INTO `gen_table_template_type` VALUES (1245659106040090625, 'dto', '单体通用-页面实体类', 'single-crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2020-04-02 18:27:29', 'admin', '2020-04-02 18:27:29');
INSERT INTO `gen_table_template_type` VALUES (1245659106300137473, 'tab-index', '单表标签页-列表页', 'single-crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2020-04-02 18:27:29', 'admin', '2020-04-02 18:27:29');
INSERT INTO `gen_table_template_type` VALUES (1245659106463715329, 'tabs-edit', '单表标签页-编辑页', 'single-crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2020-04-02 18:27:29', 'admin', '2020-04-02 18:27:29');
INSERT INTO `gen_table_template_type` VALUES (1245659242975727618, 'serviceImpl', '单体通用-业务逻辑实现', 'single-crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2020-04-02 18:28:01', 'admin', '2020-04-02 18:28:01');
INSERT INTO `gen_table_template_type` VALUES (1245659243118333954, 'service', '单体通用-业务逻辑接口', 'single-crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2020-04-02 18:28:01', 'admin', '2020-04-02 18:28:01');
INSERT INTO `gen_table_template_type` VALUES (1245659243260940290, 'execl', '单体通用-导入导出类', 'single-crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2020-04-02 18:28:01', 'admin', '2020-04-02 18:28:01');
INSERT INTO `gen_table_template_type` VALUES (1245659243403546625, 'controller', '单体通用-接口访问', 'single-crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2020-04-02 18:28:02', 'admin', '2020-04-02 18:28:02');
INSERT INTO `gen_table_template_type` VALUES (1245659243546152961, 'entity', '单体通用-数据实体类', 'single-crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2020-04-02 18:28:02', 'admin', '2020-04-02 18:28:02');
INSERT INTO `gen_table_template_type` VALUES (1245659243684564994, 'mapper', '单体通用-数据库操作映射', 'single-crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2020-04-02 18:28:02', 'admin', '2020-04-02 18:28:02');
INSERT INTO `gen_table_template_type` VALUES (1245659243831365634, 'dao', '单体通用-数据操作', 'single-crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2020-04-02 18:28:02', 'admin', '2020-04-02 18:28:02');
INSERT INTO `gen_table_template_type` VALUES (1245659243973971969, 'dto', '单体通用-页面实体类', 'single-crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2020-04-02 18:28:02', 'admin', '2020-04-02 18:28:02');
INSERT INTO `gen_table_template_type` VALUES (1245659315121950722, 'index', '单表弹出框-列表', 'single-crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2020-04-02 18:28:19', 'admin', '2020-04-02 18:28:19');
INSERT INTO `gen_table_template_type` VALUES (1245659315285528577, 'add', '单表弹出框-新增修改', 'single-crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2020-04-02 18:28:19', 'admin', '2020-04-02 18:28:19');
INSERT INTO `gen_table_template_type` VALUES (1247454401535172610, 'i18n-txt', '国际化资源文件', 'single-crud-dialog', '单体应用-单表操作(对话框)', NULL, 'admin', '2020-04-07 17:21:21', 'admin', '2020-04-07 17:21:21');
INSERT INTO `gen_table_template_type` VALUES (1247454482661400577, 'i18n-txt', '国际化资源文件', 'single-crud-tab', '单体应用-单表操作(Tab页)', NULL, 'admin', '2020-04-07 17:21:40', 'admin', '2020-04-07 17:21:40');
INSERT INTO `gen_table_template_type` VALUES (1247454539926233090, 'i18n-txt', '国际化资源文件', 'single-crud-tree', '单体应用-树表操作(对话框)', NULL, 'admin', '2020-04-07 17:21:54', 'admin', '2020-04-07 17:21:54');
INSERT INTO `gen_table_template_type` VALUES (1247454634658783233, 'i18n-txt', '国际化资源文件', 'single-crud-tree-tab', '单体应用-树表操作(tab页)', NULL, 'admin', '2020-04-07 17:22:16', 'admin', '2020-04-07 17:22:16');
INSERT INTO `gen_table_template_type` VALUES (1247454687800614913, 'i18n-txt', '国际化资源文件', 'single-curd-bpm', '单体应用-工作流表单', NULL, 'admin', '2020-04-07 17:22:29', 'admin', '2020-04-07 17:22:29');
COMMIT;

-- ----------------------------
-- Table structure for gen_table_type
-- ----------------------------
DROP TABLE IF EXISTS `gen_table_type`;
CREATE TABLE `gen_table_type` (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `tmp_code` varchar(100) DEFAULT NULL COMMENT '模板编码',
  `tmp_name` varchar(100) DEFAULT NULL COMMENT '模板名称',
  `tmp_type` varchar(100) DEFAULT NULL COMMENT '模板分类',
  `picture` varchar(100) DEFAULT NULL COMMENT '模板预览图片',
  `sorts` int(11) DEFAULT NULL COMMENT '排序',
  `remark` varchar(256) DEFAULT NULL COMMENT '备注信息',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime NOT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime NOT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='代码模板表';

-- ----------------------------
-- Records of gen_table_type
-- ----------------------------
BEGIN;
INSERT INTO `gen_table_type` VALUES (1245627245528096769, 'single-crud-dialog', '单体应用-单表操作(对话框)', 'single', ' http://kingkingdev.oss-cn-beijing.aliyuncs.com/A/202004/aadc35bf0d714231a67078b698fda944.png', 1, '', 'admin', '2020-04-02 16:20:53', 'admin', '2020-04-02 17:14:23');
INSERT INTO `gen_table_type` VALUES (1245641819899826177, 'single-crud-tab', '单体应用-单表操作(Tab页)', 'single', ' http://kingkingdev.oss-cn-beijing.aliyuncs.com/A/202004/aadc35bf0d714231a67078b698fda944.png', 2, '', 'admin', '2020-04-02 17:18:47', 'admin', '2020-04-02 18:19:54');
INSERT INTO `gen_table_type` VALUES (1245642645372407810, 'single-crud-tree', '单体应用-树表操作(对话框)', 'single', ' http://kingkingdev.oss-cn-beijing.aliyuncs.com/A/202004/aadc35bf0d714231a67078b698fda944.png', 3, '', 'admin', '2020-04-02 17:22:04', 'admin', '2020-04-02 18:20:00');
INSERT INTO `gen_table_type` VALUES (1245642779439140865, 'single-curd-bpm', '单体应用-工作流表单', 'single', ' http://kingkingdev.oss-cn-beijing.aliyuncs.com/A/202004/aadc35bf0d714231a67078b698fda944.png', 4, '', 'admin', '2020-04-02 17:22:36', 'admin', '2020-04-02 18:20:05');
INSERT INTO `gen_table_type` VALUES (1245642886830100481, 'parent-edittable', '单体应用-父子表模版(可编辑Table)', 'parent', ' http://kingkingdev.oss-cn-beijing.aliyuncs.com/A/202004/aadc35bf0d714231a67078b698fda944.png', 5, '', 'admin', '2020-04-02 17:23:02', 'admin', '2020-04-02 18:20:12');
INSERT INTO `gen_table_type` VALUES (1245642978840547330, 'single-crud-tree-tab', '单体应用-树表操作(tab页)', 'single', ' http://kingkingdev.oss-cn-beijing.aliyuncs.com/A/202004/aadc35bf0d714231a67078b698fda944.png', 6, '', 'admin', '2020-04-02 17:23:24', 'admin', '2020-04-02 18:20:18');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;


-- 删除没有国际化的菜单
delete from sys_menu where id not in (select l.table_id from sys_language l);


-- 6.4.3 ---
-- 增加代码生成器支持多数据源
-- 优化部分BUG

-- 增加数据源配置菜单及权限
INSERT INTO  `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1248539605792227333, 1248539605792227330, NULL, 'gen:genDataSource:update', 1, NULL, NULL, NULL, NULL, 30, 'admin', '2020-04-10 09:13:34', 'admin', '2020-04-10 09:13:34', '0', NULL, NULL, 1);
INSERT INTO  `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1248539605792227334, 1248539605792227330, NULL, 'gen:genDataSource:delete', 1, NULL, NULL, NULL, NULL, 40, 'admin', '2020-04-10 09:13:34', 'admin', '2020-04-10 09:13:34', '0', NULL, NULL, 1);
INSERT INTO  `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1248539605792227330, 1118389915403546626, 'gen/genDataSource', NULL, 0, 'icon-setting', NULL, NULL, NULL, 10, 'admin', '2020-04-10 09:13:33', 'admin', '2020-04-10 09:13:33', '0', NULL, NULL, 1);
INSERT INTO  `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1248539605792227331, 1248539605792227330, NULL, 'gen:genDataSource:page,gen:genDataSource:info', 1, NULL, NULL, NULL, NULL, 10, 'admin', '2020-04-10 09:13:33', 'admin', '2020-04-10 09:13:33', '0', NULL, NULL, 1);
INSERT INTO  `sys_menu`(`id`, `pid`, `url`, `permissions`, `type`, `icon`, `css_style`, `front_color`, `bg_color`, `sort`, `creator`, `create_date`, `updater`, `update_date`, `is_important`, `menu_class`, `client`, `show_flag`) VALUES (1248539605792227332, 1248539605792227330, NULL, 'gen:genDataSource:save', 1, NULL, NULL, NULL, NULL, 20, 'admin', '2020-04-10 09:13:33', 'admin', '2020-04-10 09:13:33', '0', NULL, NULL, 1);

INSERT INTO  `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1248539608896012290, 'sys_menu', 1248539605792227334, 'name', 'Delete', 'en-US');
INSERT INTO  `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1248539609021841410, 'sys_menu', 1248539605792227334, 'name', '删除', 'zh-CN');
INSERT INTO  `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1248539609156059138, 'sys_menu', 1248539605792227334, 'name', '删除', 'zh-TW');
INSERT INTO  `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1248539608598216705, 'sys_menu', 1248539605792227333, 'name', 'Edit', 'en-US');
INSERT INTO  `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1248539608707268609, 'sys_menu', 1248539605792227333, 'name', '修改', 'zh-CN');
INSERT INTO  `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1248539608812126209, 'sys_menu', 1248539605792227333, 'name', '修改', 'zh-TW');
INSERT INTO  `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1248539608338169858, 'sys_menu', 1248539605792227332, 'name', 'Add', 'en-US');
INSERT INTO  `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1248539608422055938, 'sys_menu', 1248539605792227332, 'name', '新增', 'zh-CN');
INSERT INTO  `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1248539608518524930, 'sys_menu', 1248539605792227332, 'name', '新增', 'zh-TW');
INSERT INTO  `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1248539608057151489, 'sys_menu', 1248539605792227331, 'name', 'View', 'en-US');
INSERT INTO  `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1248539608136843266, 'sys_menu', 1248539605792227331, 'name', '查看', 'zh-CN');
INSERT INTO  `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1248539608229117953, 'sys_menu', 1248539605792227331, 'name', '查看', 'zh-TW');
INSERT INTO  `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1248539607809687553, 'sys_menu', 1248539605792227330, 'name', '数据源配置', 'en-US');
INSERT INTO  `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1248539607906156545, 'sys_menu', 1248539605792227330, 'name', '数据源配置', 'zh-CN');
INSERT INTO  `sys_language`(`id`, `table_name`, `table_id`, `field_name`, `field_value`, `language`) VALUES (1248539607981654018, 'sys_menu', 1248539605792227330, 'name', '数据源配置', 'zh-TW');

-- 增加数据源配置表结构
CREATE TABLE `gen_data_source` (
  `id` bigint(20) NOT NULL,
  `data_source_name` varchar(64) DEFAULT NULL COMMENT '数据源名称',
  `data_source_code` varchar(64) DEFAULT NULL COMMENT '数据源代码',
  `jdbc_code` varchar(64) DEFAULT NULL COMMENT 'jdbc code',
  `driver_class_name` varchar(64) DEFAULT NULL COMMENT '驱动名称',
  `data_source_url` varchar(512) DEFAULT NULL COMMENT '连接串',
  `user_name` varchar(256) DEFAULT NULL COMMENT '用户名',
  `password` varchar(256) DEFAULT NULL COMMENT '密码',
  `status` tinyint(1) DEFAULT NULL COMMENT '是否启用',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间(YYYY-MM-DD HH:MM:SS)',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建人',
  `update_date` datetime DEFAULT NULL COMMENT '更新时间(YYYY-MM-DD HH:MM:SS)',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新人',
  `remark` varchar(256) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uq_data_source_code` (`data_source_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='数据源表';

-- 增加菜单SQL模板
INSERT INTO `gen_table_template`(`id`, `template_code`, `template_name`, `template_file`, `app_type`, `file_path`, `file_name`, `file_content`, `remark`, `creator`, `create_date`, `updater`, `update_date`) VALUES (1249968457139744770, 'menu-sql', '菜单及国际化SQL文件', '', 'webui', 'src/sql/', 'menu.sql', '-- 【MySQL、PostgreSQL】菜单初始SQL\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date)VALUES (${id0}, 1067246875800000002, \'${moduleName}/${className}-flowable-form\', NULL, 0, \'icon-desktop\', 0, 1067246875800000001, now(), 1067246875800000001, now());\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (${id1}, ${id0}, NULL, \'${moduleName}:${className}:page,${moduleName}:${className}:info\', 1, NULL, 0, 1067246875800000001, now(), 1067246875800000001, now());\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (${id2}, ${id0}, NULL, \'${moduleName}:${className}:save\', 1, NULL, 1, 1067246875800000001, now(), 1067246875800000001, now());\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (${id3}, ${id0}, NULL, \'${moduleName}:${className}:update\', 1, NULL, 2, 1067246875800000001, now(), 1067246875800000001, now());\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (${id4}, ${id0}, NULL, \'${moduleName}:${className}:delete\', 1, NULL, 3, 1067246875800000001, now(), 1067246875800000001, now());\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (${id5}, ${id0}, NULL, \'${moduleName}:${className}:export\', 1, NULL, 4, 1067246875800000001, now(), 1067246875800000001, now());\n\n    -- Oracle菜单初始SQL\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date)VALUES (${id0}, 1067246875800000002, \'${moduleName}/${className}-flowable-form\', NULL, 0, \'icon-desktop\', 0, 1067246875800000001, CURRENT_DATE, 1067246875800000001, CURRENT_DATE);\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (${id1}, ${id0}, NULL, \'${moduleName}:${className}:page,${moduleName}:${className}:info\', 1, NULL, 0, 1067246875800000001, CURRENT_DATE, 1067246875800000001, CURRENT_DATE);\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (${id2}, ${id0}, NULL, \'${moduleName}:${className}:save\', 1, NULL, 1, 1067246875800000001, CURRENT_DATE, 1067246875800000001, CURRENT_DATE);\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (${id3}, ${id0}, NULL, \'${moduleName}:${className}:update\', 1, NULL, 2, 1067246875800000001, CURRENT_DATE, 1067246875800000001, CURRENT_DATE);\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (${id4}, ${id0}, NULL, \'${moduleName}:${className}:delete\', 1, NULL, 3, 1067246875800000001, CURRENT_DATE, 1067246875800000001, CURRENT_DATE);\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (${id5}, ${id0}, NULL, \'${moduleName}:${className}:export\', 1, NULL, 4, 1067246875800000001, CURRENT_DATE, 1067246875800000001, CURRENT_DATE);\n\n    -- SQL Server菜单初始SQL\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date)VALUES (${id0}, 1067246875800000002, \'${moduleName}/${className}-flowable-form\', NULL, 0, \'icon-desktop\', 0, 1067246875800000001, getdate(), 1067246875800000001, getdate());\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (${id1}, ${id0}, NULL, \'${moduleName}:${className}:page,${moduleName}:${className}:info\', 1, NULL, 0, 1067246875800000001, getdate(), 1067246875800000001, getdate());\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (${id2}, ${id0}, NULL, \'${moduleName}:${className}:save\', 1, NULL, 1, 1067246875800000001, getdate(), 1067246875800000001, getdate());\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (${id3}, ${id0}, NULL, \'${moduleName}:${className}:update\', 1, NULL, 2, 1067246875800000001, getdate(), 1067246875800000001, getdate());\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (${id4}, ${id0}, NULL, \'${moduleName}:${className}:delete\', 1, NULL, 3, 1067246875800000001, getdate(), 1067246875800000001, getdate());\n    INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (${id5}, ${id0}, NULL, \'${moduleName}:${className}:export\', 1, NULL, 4, 1067246875800000001, getdate(), 1067246875800000001, getdate());\n\n\n    -- 【MySQL、Oracle、PostgreSQL、SQL Server】菜单国际化初始SQL\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id6},\'sys_menu\', ${id0}, \'name\', \'${table.comments}\', \'en-US\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id7},\'sys_menu\', ${id0}, \'name\', \'${table.comments}\', \'zh-CN\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id8},\'sys_menu\', ${id0}, \'name\', \'${table.comments}\', \'zh-TW\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id9},\'sys_menu\', ${id1}, \'name\', \'View\', \'en-US\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id10},\'sys_menu\', ${id1}, \'name\', \'查看\', \'zh-CN\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id11},\'sys_menu\', ${id1}, \'name\', \'查看\', \'zh-TW\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id12},\'sys_menu\', ${id2}, \'name\', \'Add\', \'en-US\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id13},\'sys_menu\', ${id2}, \'name\', \'新增\', \'zh-CN\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id14},\'sys_menu\', ${id2}, \'name\', \'新增\', \'zh-TW\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id15},\'sys_menu\', ${id3}, \'name\', \'Edit\', \'en-US\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id16},\'sys_menu\', ${id3}, \'name\', \'修改\', \'zh-CN\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id17},\'sys_menu\', ${id3}, \'name\', \'修改\', \'zh-TW\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id18},\'sys_menu\', ${id4}, \'name\', \'Delete\', \'en-US\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id19},\'sys_menu\', ${id4}, \'name\', \'删除\', \'zh-CN\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id20},\'sys_menu\', ${id4}, \'name\', \'刪除\', \'zh-TW\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id21},\'sys_menu\', ${id5}, \'name\', \'Export\', \'en-US\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id22},\'sys_menu\', ${id5}, \'name\', \'导出\', \'zh-CN\');\n    INSERT INTO sys_language(id,table_name, table_id, field_name, field_value, language) VALUES (${id23},\'sys_menu\', ${id5}, \'name\', \'導出\', \'zh-TW\');\n', '', 'admin', '2020-04-14 15:51:18', 'admin', '2020-04-14 15:52:10');

-- 记录执行日志表
CREATE TABLE `sys_task_execlog` (
  `id` bigint(20) NOT NULL,
  `code` varchar(100) DEFAULT NULL COMMENT 'job/任务/存储 标识码',
  `name` varchar(100) DEFAULT NULL COMMENT '标识描述',
  `status` tinyint(4) DEFAULT NULL COMMENT '状态0默认1正在2完成3异常',
  `err_msg` varchar(2000) DEFAULT NULL COMMENT '当前异常描述',
  `exec_date` datetime DEFAULT NULL COMMENT '执行日期',
  `remark` varchar(200) DEFAULT NULL COMMENT '备注',
  `creator` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_date` datetime DEFAULT NULL COMMENT '创建时间',
  `updater` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_date` datetime DEFAULT NULL COMMENT '最后更新时间',
  PRIMARY KEY (`id`),
  KEY `idx_sys_task_execlog_1` (`code`) USING BTREE,
  KEY `idx_sys_task_execlog_2` (`exec_date`,`code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='任务日志表';


-- 用户表加字段
ALTER table sys_user ADD user_type varchar(20);
ALTER table sys_user ADD ref_id bigint;